umbrellaplug / umbrellaplug.github.io

Umbrella Kodi Addon Official
111 stars 17 forks source link

[BUG] Result pagination broken when using a filtered view #342

Closed endlessterror closed 7 months ago

endlessterror commented 7 months ago

Bug

This is a bug that affects pagination. I have a lot of series/movies in my trakt collections. When I browse them with the filter set to "all" everything works fine. Pages are formed every 30 results.

In my case I've around 40 series, in two pages (first 30, second the remaining 10). Obviously pagination happens automatically.

Now if I set the filter to unwatched and mark say 28 out of the first 30 series watched, I would expect that the remaining 12 series (the 2 unwatched from the first page and the 10 from the second) would be displayed together, in a single result page. This does not happen. Instead, the 2 unwatched are displayed as page 1, and the 10 from page are displayed together as page 2.

I'm providing photos:

Expected Result

Complete description above, see also screenshots,

Steps To Reproduce

  1. Go to a trakt collection containing enough series or movies, to have to paginate, when filter is set to show all
  2. Mark all items on page 1 as watched, except two
  3. Set filter to "unwatched"

Kodi Version, Type of Device, Logs, Screenshots, and Additional Info

Kodi version: 20.1.0 (Libreelec 11.0.1) Platform is Odroid C2

showall filter_unwatched

Kodi log: https://paste.kodi.tv/umodebixev umbrella log: https://paste.kodi.tv/jevecimete

Checklist

umbrellaplug commented 7 months ago

I'm not re-writing pagination for this. You will have to deal with this bug.