Project

General

Profile

Actions

Bug #3757

closed

J3.0: Userlist paging with SEF ON broken

Added by nant about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04 November 2012
Due date:
% Done:

100%

Estimated time:
1:00 h

Actions #1

Updated by beat about 12 years ago

Joomla 3.0 introduces a wonderful new feature: Break $_GET variables: copy limitstart to start, and unset limitstart:

protected function _processBuildRules($uri)
...

        if ($this->_mode == JROUTER_MODE_SEF && $route)
        {
            $app = JApplication::getInstance('site');

            if ($limitstart = $uri->getVar('limitstart'))
            {
                $uri->setVar('start', (int) $limitstart);
                $uri->delVar('limitstart');
            }
        }
...

So &limitstart=... gets automatically converted to &start=... but only with SEF on!

!!!!!!!

Actions #2

Updated by beat about 12 years ago

Decision has been taken to workaround this Joomla 3.0-design bug:

When needing limitstart, we will call a new CB function getPagesLimitStart( $arr ) instead of getting it from params.

Actions #3

Updated by beat about 12 years ago

  • Subject changed from Userlist paging with SEF on on Joomla 3.0 broken to J3.0: Userlist paging with SEF ON broken
Actions #4

Updated by beat about 12 years ago

  • Status changed from New to Closed
  • Assignee set to beat
  • Target version set to CB 1.9
  • Estimated time set to 1:00 h

Fixed in r1911 .

Actions #5

Updated by beat about 12 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF