Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-532

Use real page numbers for pagination

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • web pages
    • None

      The current pagination considers min_ts and max_ts to paginate. The pagination is not quite user friendly.

      Alternate solution

      We should use real page numbers to paginate (aka page 1,2,3...). To find the listens to be shown on a page we can use sql OFFSET.

      Say for page 10 all we have to do is OFFSET by (9 * 25) where 25 is the current listens per page limit.

      This is will also help to give a page numbers list so that a person can jump to a specific page(like in Google search- see below).

            Unassigned Unassigned
            shivam-kapila Shivam Kapila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package