cooperdk / YAPO-e-plus

YAPO e+ - Yet Another Porn Organizer (extended)
https://github.com/cooperdk/YAPO-e-plus
GNU General Public License v3.0
144 stars 15 forks source link

Sort order goes back to "Name Ascending" when reloading page. #51

Open GirlsWithSnouts opened 3 years ago

GirlsWithSnouts commented 3 years ago

When navigation to or reloading a page (whether that's scenes, actors etc.) the sort order resets to "Name Ascending" but the drop down list will still display your last sort option.

For example, if I sort my scenes by "Date Added Descending" and then click on the actors tab and then go back to the scenes tab, the sort setting dropdown will still say "Date Added Descending" but it's actually sorting by "Name Ascending". In order to re-sort by "Date Added Descending" I have to choose a different option in the dropdown then change it right back.

cooperdk commented 3 years ago

Thanks for your issue report. This is a well-known issue. The UI actually stores preferences and applies them to the view (displayed page) but the sort order is not sent to the backend. Since this issue is likely to be caused by the AngularJS frontend which I don't know much about, I'll try to mark this with "help needed" and try to look at it when I can.