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().
Comments
Comment #1
pcambraComment #2
pcambraAlso fixed field state in this commit
https://github.com/pcambra/drupalcommerce/commit/62f9d291f5119bcd1cf1f1a...
Comment #3
rszrama commentedCommitted. 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...