Sort Order statuses in custom order #2202
Replies: 6 comments 1 reply
-
One project that I handled has a few thousands complex statuses. The workflow, which can span up to a year, is managed by it. There is no issue on ordering because there are only a handful of possible next statuses for any given status; the next statuses are comma-delimited and are stored in a column and configurable in backend. |
Beta Was this translation helpful? Give feedback.
-
@kiatng Are you talking about Magento or some other project? |
Beta Was this translation helpful? Give feedback.
-
Yes, it's M1/OM. There are hundreds of admin users working on the workflow, available statuses are filtered based on roles, further reducing the number of statuses. Because the flow is linear, the user can revert to an earlier status: In this way, there is no need to list all statuses. Example above has more than 30 statuses in the dropdown, but the next statuses are only 4 in black text, the orange ones are the statuses that came before in chrono order. That's just how I solved it and has been in production for more than 7 years. Hopefully some of the ideas are applicable in your case. |
Beta Was this translation helpful? Give feedback.
-
@kiatng Hmm, it's an interesting solution if you have hundreds or thousands of statuses, but it's very unlikely that we'll ever have more than a 100 status tbh, so this will be an overkill for us. I see you also have a |
Beta Was this translation helpful? Give feedback.
-
Closing as it doesn't seem interesting for many users. |
Beta Was this translation helpful? Give feedback.
-
I moved it to Discussions > Ideas because there are advantages. It is a major difference between closing a good idea because it was posted in Issues and has no feedback for a while and moving it to discussions in a separate section. In the Issue section it will remain closed forever and no one will be interested in it, but in the Discussions section it remains open forever and does not bother anyone. At any time an opinion is welcome. |
Beta Was this translation helpful? Give feedback.
-
Description (*)
Order statuses are sorted alphabetically by status code by default. We have a store with around 30 Order statuses in total. Every time I wanna filter Orders with a status I have to scan the select box options looking for it (see screenshot below, text replaced with "Example"). The same problem occurs in our internal system where we list the statuses.
I say we could allow specifying a custom order for Order statuses when you create them and order them based on that across the Admin panel. What do you guys think? I can work on this myself If some people will find it useful.
Expected behavior (*)
Order statuses should be displayed across the Admin area with a custom order (a number) defined when you create them.
Benefits
Easily finding the status you need by listing them in a custom order.
Additional information
Optionally, we could also list them in the select box grouped by

state
?Beta Was this translation helpful? Give feedback.
All reactions