Index: typo3/class.db_list.inc =================================================================== --- typo3/class.db_list.inc (revision 9489) +++ typo3/class.db_list.inc (working copy) @@ -315,7 +315,7 @@ // Setting form-elements, if applicable: $formElements=array('',''); if ($formFields) { - $formElements=array('
','
'); + $formElements=array('
','
'); } // Make level selector: @@ -591,9 +591,9 @@ */ function linkWrapTable($table,$code) { if ($this->table!=$table) { - return ''.$code.''; + return ''.$code.''; } else { - return ''.$code.''; + return ''.$code.''; } } @@ -656,7 +656,7 @@ default: // Output the label now: if ($table=='pages') { - $code = ''.$code.''; + $code = ''.$code.''; } else { $code = $this->linkUrlMail($code,$origCode); } @@ -697,7 +697,7 @@ * * @param string Alternative id value. Enter blank string for the current id ($this->id) * @param string Tablename to display. Enter "-1" for the current table. - * @param string Commalist of fields NOT to include ("sortField" or "sortRev") + * @param string Commalist of fields NOT to include ("sortField", "firstElementNumber" or "sortRev") * @return string URL */ function listURL($altId='',$table=-1,$exclList='') { @@ -709,7 +709,7 @@ ($this->searchString?'&search_field='.rawurlencode($this->searchString):''). ($this->searchLevels?'&search_levels='.rawurlencode($this->searchLevels):''). ($this->showLimit?'&showLimit='.rawurlencode($this->showLimit):''). - ($this->firstElementNumber?'&pointer='.rawurlencode($this->firstElementNumber):''). + ((!$exclList || !t3lib_div::inList($exclList, 'firstElementNumber')) && $this->firstElementNumber ? '&pointer=' . rawurlencode($this->firstElementNumber) : '') . ((!$exclList || !t3lib_div::inList($exclList,'sortField')) && $this->sortField?'&sortField='.rawurlencode($this->sortField):''). ((!$exclList || !t3lib_div::inList($exclList,'sortRev')) && $this->sortRev?'&sortRev='.rawurlencode($this->sortRev):'') ; Index: typo3/class.db_list_extra.inc =================================================================== --- typo3/class.db_list_extra.inc (revision 9489) +++ typo3/class.db_list_extra.inc (working copy) @@ -231,7 +231,7 @@ ''; // Up one level - $buttons['level_up'] = '' . + $buttons['level_up'] = '' . t3lib_iconWorks::getSpriteIcon('actions-view-go-up') . ''; @@ -1710,7 +1710,7 @@ if ($field=='_PATH_') $field=pid; // Create the sort link: - $sortUrl = $this->listURL('',-1,'sortField,sortRev,table').'&table='.$table.'&sortField='.$field.'&sortRev='.($this->sortRev || ($this->sortField!=$field)?0:1); + $sortUrl = $this->listURL('',-1,'sortField,sortRev,table,firstElementNumber').'&table='.$table.'&sortField='.$field.'&sortRev='.($this->sortRev || ($this->sortField!=$field)?0:1); $sortArrow = ($this->sortField==$field?'backPath,'gfx/red'.($this->sortRev?'up':'down').'.gif','width="7" height="4"').' alt="" />':''); // Return linked field: