jellyfin / jellyfin-expo

Jellyfin Mobile for iOS
https://jellyfin.org
Mozilla Public License 2.0
288 stars 65 forks source link

User selected Library Sorting is not applied to Picture Viewer and instead defaults to sorting by Name #478

Open iCarrierBag opened 5 months ago

iCarrierBag commented 5 months ago

Describe the bug When a user selects a sorting type for their library, this sorting isn't applied to the Picture Viewer - instead the Picture Viewer will default back to showing the Next/Last Image by Name and not Date Added for example.

System (please complete the following information):

To Reproduce

  1. Create a New Test Directory
  2. Create 3 New images files in the above directory- Name them in order: 1, then 3, then 2 (For ease of proving the Date Added/Name conflict).
  3. Within the iOS App, change the sort to Date Added - Ascending.
  4. Click onto image 1 to open the viewer.
  5. Swipe Right to Left, this will now show image "2" instead of "3" - This is not following the Date Added Sorting and instead the Name Sort.

Expected behavior Swiping Left/Right on images should follow the Selected Sorting and not default back to Name Sorting.

Screenshots Please see video Demonstration here: streamable(dot)com/rmpl1x