User tests: Successful: Unsuccessful:
Pull Request for Issue #44049 .
Fix removing of start=0
from pagination for the first page.
Visit Category Blog or another list view with pagination.
Visit second page, and check the link for first page.
Link contain start=0
Link without start=0
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
@Mich-es can you open https://issues.joomla.org/tracker/joomla-cms/44069 and click button "Tested successfully" so the test is counted.
I have tested this item ✅ successfully on 44c8277
I have tested this item ✅ successfully on 44c8277
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
bug
PR-4.4-dev
|
RTC
It is expected, when limitstart
have a value, then it will be added to URL.
The router code is skipping only empty values.
I have tested this item ✅ successfully on 44c8277
Tested successfully with $hideEmptyLimitstart set to true. Thank you.
Labels |
Added:
RTC
|
Title |
|
I have tested this item ✅ successfully on 62b3a63
Just an idea, wouldn't be better to have $hideEmptyLimitstart true as default? I guess probably there are more components using pagination with hidden start=0 than those requireing this syntax...
To get rid of all the pagination
duplicates, it is necessary for @joomla to have the rel="canonical"
attribute for this type of page, indicating as a canonical page the version of the page without the ?start
parameter.
@Fedik is it possible to add this to the current Issue?
as far as I know, there will be a solution for other types of duplicate pages in Joomla in Joomla 5.2
, but there is no solution for the ?start
parameter, which can be solved by adding a canonical link
and then Joomla will be completely protected from all types of duplicate pages.
is it possible to add this to the current Issue?
Nope, it's not as simple as it might seem.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-09-22 20:56:47 |
Closed_By | ⇒ | MacJoom |
Thank you!
It works!