fablabbcn/fablabs.io

Pagination is broken for list of machines; shows the same page of results for several minutes

stuikomma opened this issue · 1 comments

Describe the bug
When you go to https://www.fablabs.io/machines, you will see a list of machines. When you go to a different results page, you will see the same list again. Even across hard refreshes and different browsers.

When I went back a few minutes later, I would see a different list, but again I couldn't use the pagination.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.fablabs.io/machines
  2. Click page 2 at the bottom of the page. This will navigate you to https://www.fablabs.io/machines?page=2
  3. See the same results again

Expected behavior
At 3. I expected the second page of machines to be shown instead of the first.

Screenshots
image
image Note the different URL in this screenshot.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser
  • Chrome 79.0.3945.130
  • Firefox 72.0.2 (64-bit)
  • curl 7.55.1 (Windows) libcurl/7.55.1 WinSSL

Additional context
Looks like some form of caching problem to me. And believe me it feels really weird, that't why I even tried curl and even tethering from my phone to make sure it's not a network problem :)

Should be fixed in 8186db2

Caching was conflicting with pagination.

Thank you for reporting!