Commit 4582503
authored
Add series date sorting to correct snap-to recency cut (#6137)
## Related PR
[6047](#6047)
## Description
The series needed to be sorted by date, so that the recency cut (five
years) could be applied when determining date of highest coverage.
## Testing
In searches such as "Demographics in Texas" or "Jobs in Texas", the
ranking and map charts should all now once again mach production in
terms of dates (see screenshots below).
## Screenshot
### Before
<img width="1401" height="714" alt="Screenshot 2026-03-26 at 8 03 59 PM"
src="https://github.com/user-attachments/assets/605297fc-d472-4be0-b6ef-7e8579df760d"
/>
### After
<img width="1387" height="712" alt="Screenshot 2026-03-26 at 8 02 38 PM"
src="https://github.com/user-attachments/assets/41988a05-b459-461a-8983-df15697b5de6"
/>1 parent a2911ca commit 4582503
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| 611 | + | |
611 | 612 | | |
612 | 613 | | |
613 | 614 | | |
| |||
0 commit comments