dickinson-comp190 / GitKit-FarmData2-F23

Other
0 stars 20 forks source link

Seeding Report: Reports not ordered chronologically #80

Open FoxFGC opened 8 months ago

FoxFGC commented 8 months ago

Description

The issue arises sometimes when viewing the seeding report. The reports are usually ordered chronologically, but due to a bug there are sometimes inconsistencies in the ordering depending on the range selected in the date picker.

How to Reproduce

  1. Go to the seeding report located in BarnKit
  2. Use the date picker to select the range 12/01/2019 - 04/01/2020
  3. Scroll down until you see the report for Raddishes planted on 2020-04-01 Screen Shot 2023-11-02 at 12 06 58 PM

Expected result

The expected result is that the reports are ordered chronologically from top to bottom. Therefor, we should expect the Radishes planted on 2020-04-01 to be the last, or one of the last reports since it was planted on the last day we specified in our range.

Observed result

The report for radishes planted on 2020-04-01 is followed by a report for chard planted on 2020-02-10 which is two months prior to the previous report, meaning the reports are not listed chronologically in this instance