- 🇮🇳India Raveen Kumar
I am getting unwanted url
href="?_wrapper_format=html&page=1%2C0%2C0"
Currently if you have pager query string variables in your url (e.g. path/to/my/view?page=2), you only get the items for that page. It should probably show you all items up until the specified page to match what the user would have been seeing when they got there using the page.
For example, when used in conjunction with
Views AJAX History →
, each load more click increases the page number in the url by one, and visually you see all items from 0
to current_page * items_per_page
. However, the way it works currently, when you navigate back to this page (using the browser back button for example) you only see the items for that page number.
Attached patch adds a query() method to the load more views plugin that remedies the issue.
I believe this patch will also fix a similar issue users are seeing in #1411380: Support for HTML5 history API (browser back button) → .
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I am getting unwanted url
href="?_wrapper_format=html&page=1%2C0%2C0"