Skip to content

fix: incorrect pagination when filtering by categories #95

@darkandrew7

Description

@darkandrew7

I noticed on https://opensource.org/license that there seems to be inconsistent pagination when filtering by categories.

To reproduce,

  1. Visit the website: https://opensource.org/license
  2. Using the same browser tab, select "Popular / Strong Community" and redirect to the correct first page of results where all show the correct category (https://opensource.org/license?categories=popular-strong-community)
    image
  3. Using the same browser tab, select page 2 using the page numbering that appears above or below the table of results (https://opensource.org/license/page/2?categories=popular-strong-community)
    image
  4. You can see from the image in (3) that the category "Popular / Strong Community" is selected, but the results in the table contain other categories.
  5. From this point, if you go back to page 1, then you do not receive the same results seen in (1) even though the URL is the same (https://opensource.org/license?categories=popular-strong-community)
    image
  6. Lastly, the results from (1) can be seen on page 10 using the same steps from (2-3).
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions