In the Internet Explorer 11 "Load more" button stops working after multiple clicks

Created on 20 March 2017, over 7 years ago
Updated 23 June 2023, over 1 year ago

Problem/Motivation

In the Internet Explorer 11 (probably some other versions) "Load more" button stops working.
After investigation issue I found that “Load more” <a href > attribute “overloaded” with ajax_page_state query parameter, after clicking many times on “Load more” button (For example you have limit 3 items per page and total amount of results is 300).
More about possible IE <a href> limitations:
https://blogs.msdn.microsoft.com/ieinternals/2014/08/13/url-length-limits/
http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-...
https://boutell.com/newfaq/misc/urllength.html

Looks like ajax_page_state some kind of leftovers in href attribute since that parameter still present in views POST AJAX request.

Proposed resolution

Filter that parameter when build the pager link.

Remaining tasks

NO

User interface changes

NO

API changes

NO

Data model changes

NO

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇨🇦Canada dstorozhuk Chicago 🇺🇸, Toronto 🇨🇦, Kyiv 🇺🇦

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024