flexion / ef-cms

An Electronic Filing / Case Management System.
23 stars 10 forks source link

BUG: Sort order of cases on Inventory Report #7080

Closed JessicaMarine closed 3 years ago

JessicaMarine commented 3 years ago

Describe the Bug Cases on Case Inventory report are not sorting by docket number correctly (oldest to newest) consistently. Could be related to cases older than 2010 sorting unexpectedly

If I run a Case Inventory report for Judge Holmes, I get a case count of 255 cases, and the oldest showing in the UI is a 2010 docket number (5242-10). He’s got 255 cases in his inventory, so I can hit the “Load More” button. For the first 8 clicks, it adds cases to the bottom of the list (i.e., more recent cases). On the 9th click (if I counted correctly) it added several pre-2010 cases to the top of the list. It seems like those cases should have been at the top of the list to begin with.

Business Impact/Reason for Severity

In which environment did you see this bug? Court's test environment (by Judge Buch); replicated in Flexion's prod (Jessica)

Who were you logged in as?

What were you doing when you discovered this bug? (Using the application, demoing, smoke tests, testing other functionality, etc.) Testing

To Reproduce Steps to reproduce the behavior:

  1. Go to Case Inventory
  2. Select Judge Holmes
  3. Run Report
  4. Load all case results

Expected Behavior Cases should display sorted oldest to newest by docket number for all cases returned in the report.

Actual Behavior 5242-10 is displaying as the first (oldest) case in the report on initial load. After the list is fully expanded, 1144-05 is displaying first in the list.

Screenshots Initial Load: image.png Fully Expanded: image.png

Desktop (please complete the following information):

Smartphone (please complete the following information):

Cause of Bug, If Known

Process for Logging a Bug:

Severity Definition:

FOR ENGINEERING TEAM ONLY Bug Resolution Steps:

klohman commented 3 years ago

Cannot reproduce on flexion prod 11/23.

codyseibert commented 3 years ago

This fix will require a re-index on prod