Closed dave-mills closed 1 year ago
@dan-tang-ssd - I'd like to publish this into the same main-branch PR I just created.
Hi Dave, I cannot see the difference on Organisation CRUD list view. Would you share which page I should perform testing?
Many Thanks.
Before, the "reorder" operation on Institution Type and Initiative Category would change the ordering of the list on their CRUD panels, but not anywhere else in the platform.
This means:
Now, those dropdown lists reflect the ordering chosen on those CRUD panels.
It works well, I think it is good to merge.
When "reordering" institution types on the admin panel (
/admin/institution-type
), the order set in re-ordering was not reflected in how they are displayed throughout the site.This PR fixes that issue by adding an
orderBy
global scope.It does the same for
InitiativeCateogry
.