-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x] Fix paginated page links for com_finder and com_content archive #43953
[4.x] Fix paginated page links for com_finder and com_content archive #43953
Conversation
I have tested this item ✅ successfully on c6b8a24 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
Hint for other testers: The issue can be easily reproduced and the fix be tested when installing Blog sample data on a clean, current 4.4.7, adding a finder menu item and in the advanced settings for that menu item set the items per page to 5. Then call the page in frontend and search for "Joomla". Then check the links of the 2nd, 3rd, next and last page in the pagination. |
I have tested this item ✅ successfully on c6b8a24 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
Co-authored-by: Quy <quy@nomonkeybiz.com>
I've restored the previous human test results in the issue tracker as the change which invalidated the test count was just a code style change. => RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
I have tested this item ✅ successfully on c9aaf5b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
Is there gonna be an immediate new release and wait for it or its gonna be days? |
No release today |
@peteruoi |
…oomla-cms into 4.4-finder-pagination-fix
@dautrich @richard67 @coolcat-creations I updated the PR to also cover a second bug in the com_content archive view, a test for that scenario would be much appreciated! |
@SniperSister Test not successful ... See here with applied patch: https://playground.designedwithlove.de/de/archiv?month=0&year=2024&catid[0]=&start=5 and search for "About" - the title filter is reset on pagination change |
@coolcat-creations excellent catch! Fixed! |
@SniperSister what did you fix before because I could not catch an error before the fix there? :-) |
@coolcat-creations i fixed the title filter that you mentioned |
Ok thanks |
Test successful |
If you have many sites to manage (100+) manually fixing stuff will take a lot more time. So an update / fix through the Joomla updater would be very much appreciated. |
Back to pending as there were made changes. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
@jjnxpct If your sites are all on 5.1.3, you have to do that only one time, and for the others you can just copy the 2 modified files. For sites which are on 4.4.7 you can directly use the modified files from this PR |
I have tested this item ✅ successfully on 8245571 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
Notes from a user:
Thank you for this fix 👍 |
I have tested this item ✅ successfully on 8245571 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
Back to pending as there were made changes. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
@coolcat-creations @dautrich @hans2103 Could you test again? Thanks in advance. |
I have tested this item ✅ successfully on 20d41c3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
1 similar comment
I have tested this item ✅ successfully on 20d41c3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
Hopefully, this is the last time this PR goes RTC. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
Thank you for the quick fix! |
I have tested this item ✅ successfully on 20d41c3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43953. |
@SniperSister What about the "o" and "od" variables? |
Summary of Changes
The 4.4.7 and 5.1.3 security release broke the pagination in com_finder (thanks Phil for reporting) and the com_content archive view.
Testing Instructions
Create a test site with a sufficient amount of articles to get a paginated result for the com_finder search results. Click on the pagination links.
Furthermore create an archive view with a sufficient amount of articles that filters for a specific category.
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed