TACC / Core-CMS-Custom

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

Sorting by incorrect date field for exceptions and extensions #190

Closed sophia-massie closed 1 year ago

sophia-massie commented 1 year ago

Overview

Fixing a bug where the exceptions and extensions were not sorting by created date when no filters were selected

Related

Changes

Updated view that shows admin exception and extension records so that it is sorted by the correct field in the database (created_at)

Testing

  1. Go to http://localhost:8000/administration/list-exceptions/
  2. Make sure they're listed in order from created at column.
  3. Create a new exception and make sure it is the first on the admin list
  4. Go to http://localhost:8000/administration/list-extensions/ select Edit Record from Action drop down
  5. Make sure they're listed in order from created at column.
  6. Create a new extension and make sure it is the first on the admin list