Incorrect resource pages browsing using buttons (previous, next, page numbers)
This issue affects all the resource types (extension, artworks, etc.) A second argument "page=n" is concatenated at the end of the URL after a button is clicked for the 2nd time (next, previous or page number) resulting in incorrect behavior.
How to reproduce the error:
- Open a resource category page, e.g. Extensions, URL = https://inkscape.org/en/gallery/=extension/
- The first page for the category is shown correctly
- Clic on one of the browsing buttons, e.g. Page 3, URL = https://inkscape.org/en/gallery/=extension/?page=3&
- Page 3 is shown correctly
- Clic again on one of the buttons, e.g. Next, https://inkscape.org/en/gallery/=extension/?page=4&page=3
- Page 3 is shown instead of page 4 because multiple "page" argument are concatenated and the last one is used
- Clic again, e.g. Page 5, URL = https://inkscape.org/en/gallery/=extension/?page=5&page=3
- Page 3 is shown again
Edited by Marco De Paolini