Orcasa-Platform / orcasa-review4c

https://orcasa-review4c.vercel.app/
MIT License
0 stars 0 forks source link

Fix incorrect pagination parameter for the publications list request #25

Closed clementprdhomme closed 1 year ago

clementprdhomme commented 1 year ago

This PR fixes an issue where an incorrect pagination parameter would be passed to the publications list request after the user has loaded several pages of results.

How to test

Steps to reproduce

  1. Open Scientific Evidence
  2. Open the list of publications
  3. Scroll to the bottom of the list
  4. Click “Go back”
  5. Re-open the list of publications

Result

The request that fetches the list of publications contains the following parameter: page=2.

Expected result

The request should contain the following parameter instead: page=1.

Tracking

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
orcasa-review4c ✅ Ready (Inspect) Visit Preview Oct 10, 2023 7:16am