Skip to content

[#25616] Delete URL-Parameter limitstart (also when its value is 0)#3725

Closed
AlexanderMeier wants to merge 1 commit intojoomla:stagingfrom
AlexanderMeier:patch-2
Closed

[#25616] Delete URL-Parameter limitstart (also when its value is 0)#3725
AlexanderMeier wants to merge 1 commit intojoomla:stagingfrom
AlexanderMeier:patch-2

Conversation

@AlexanderMeier
Copy link
Copy Markdown
Contributor

Cosmetic change for consistence and avoidance of duplicate URLs.
See also this Bug report: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25616&start=0
Before change $limitstart was deleted if present, except if it was 0 (zero), because 0 evaluates to false.

osmetic change for consistence and avoidance of duplicate URLs.
 See also this Bug report: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=25616&start=0
 Before change $limitstart was deleted if present, except if it was 0 (zero), because 0 evaluates to false.
@AlexanderMeier AlexanderMeier changed the title Delete URL-Parameter limitstart (also when its value is 0) [#25616] Delete URL-Parameter limitstart (also when its value is 0) Jun 5, 2014
@Bakual Bakual closed this in 4c7cd15 Jul 27, 2014
hikashop-jerome added a commit to hikashop-jerome/joomla-cms that referenced this pull request Sep 29, 2014
Instead of removing the "limitstart" parameter in the router file (see joomla#3725 ), we do not generate URLs with "limitstart=0".
Kind of weird to add it there to be then removed in the router, isn't it?

So components will be able to use the parameter "limitstart=0" if they want to... and we still avoid the duplicate url issue we used to have.
Sounds like a win / win! :)
Bakual pushed a commit to Bakual/joomla-cms that referenced this pull request Oct 8, 2014
Bakual pushed a commit that referenced this pull request Oct 10, 2014
…en its value is 0). Fixes #4488. Closes #3725 (reverted from commit 4c7cd15)
rdeutz pushed a commit to rdeutz/joomla-cms that referenced this pull request Oct 24, 2014
@zero-24 zero-24 removed the RTC This Pull Request is Ready To Commit label Oct 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants