TACC / Core-CMS-Custom

Customized Core CMS code and builds
5 stars 0 forks source link

Updated extension admin org filter to display all first #188

Closed sophia-massie closed 1 year ago

sophia-massie commented 1 year ago

Overview

To fix bug on extension admin table so that org filter displays All first and doesn't assign it to the first alphabetized org name.

Related

Changes

-Created function in extension admin view so that the view doesn't sort All as it iterates through and sorts organization names

Testing

  1. Go to http://localhost:8000/administration/list-extensions/
  2. Make sure that All is first on the list. Can test with stache production creds to see that All is no longer alphabetized.
  3. Go to http://localhost:8000/administration/list-exceptions/
  4. Make sure that All is first on the list and not a blank row.

UI

Extensions

Screenshot 2023-07-26 at 6 22 41 PM Screenshot 2023-07-26 at 6 22 59 PM

No longer starts with blank row

Screenshot 2023-07-27 at 12 07 29 PM

Exceptions

Screenshot 2023-07-27 at 12 06 55 PM