Closed sebastian-marinescu closed 1 year ago
That extends the base context getlist processor so that's certainly interesting. Perhaps that doesn't handle the sort properly out of the box, or the client side is sending a different sortBy by default.
Yeah it looks like the core processor sets the default sort field as key
rather than rank
. So that would need to be overridden, or a sort param passed (there currently isn't one). I'll get this sorted (sorry! 😛 ) now.
Summary
Currently the context-dropdown doesn't acknowledge the sort-order (rank) of contexts.
Expected behavior
Display the contexts in the context-dropdown in their configured order/rank.
I'm going to take a look at it myself.