PILOS
PILOS copied to clipboard
Wrong numer of rooms shown on initial load of rooms index page
Describe the bug When initially loading the rooms index page the number of rooms shown per pagination page is always 6. When changing the page to another page the number of displayed rooms changes according to the screen size and because of this the number of pages changes too.
To Reproduce Steps to reproduce the behavior:
- Visit rooms index page (With more than 6 rooms)
- Number of rooms shown is 6
- Change page to second page
- See change in number of displayed rooms per page and numer of pages
Expected behavior Number of rooms per page should also be canged according to the screen size when initially loading the rooms index page and before loading the rooms