Closed bakker closed 3 months ago
Nice catch! In this case, ASC is oldest to newest and DESC newest to oldest. Inverting here should fix it: https://github.com/reaper47/recipya/blob/main/internal%2Fservices%2Fstatements%2Fselect.go#L257-L260
I didn't find the place in code. I'll get you a pull request
Describe the bug "Date Created" Sort logic in recipe list seems to be inverted, giving oldest recipes first when selecting "Newest to oldest", and giving newest recipes first when selecting "Oldest to newest"
To Reproduce Steps to reproduce the behavior:
Expected behavior Correct date sorting
Environment