Comments

pcambra’s picture

Title: Convert commerce_order_state_info to array » Convert commerce_order_state_info & commerce_order_status_info to array
pcambra’s picture

Status: Active » Needs review
rszrama’s picture

Status: Needs review » Fixed

Committed. I also noticed that the order state filter wasn't working - it was only checking the statuses in the same state as the first state selected and was loading a status using the state name. What needed to happen is to loop over each selected state and add the statuses from that state to the where condition.

I also changed the options building to use the commerce_order_[state|status]_get_title().

https://github.com/rszrama/drupalcommerce/commit/ecc17ea9d7cfe6a08f4a2f2...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.