Project

General

Profile

Actions

Bug #16776

closed

pi_list_browseresults shows 'Next' link when no results

Added by Artem Matevosyan almost 18 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-12-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

pi_list_browseresults shows 'Next' link when no results

fix:

File typo3/sysext/cms/tslib/class.tslib_pibase.php
Line 559
if ($pointer==$totalPages-1) { // Link to next page
replace with
if ($pointer==$totalPages-1 || !$totalPages) { // Link to next page
(issue imported from #M4631)

Actions #1

Updated by Michael Stucki almost 18 years ago

Meanwhile I am trying to reproduce this, but can't. Can you help me, please?

Actions #2

Updated by Artem Matevosyan over 17 years ago

I dont think so. Sorry. I've discovered this issue while trying to use pagebrowser with my own specific extension.

Though I belive such a check, wont be out of place.

|| !$totalPages
Actions #3

Updated by Artem Matevosyan over 17 years ago

Ok I figured it out.
This is content of plugin's 'internal' var ($this->internal)
res_count 0
results_at_a_time 4
maxPages 10
currentRow
EMPTY!
currentTable
amflexcat_pid_list 4
dontLinkActivePage 1
showFirstLast 1
showRange 0
pagefloat CENTER

I suppose it the "res_count = 0".

The result is

Begin Back Next End

"Next" is the only link.

Now the line in pibase is 546 (typo3 v.4.1.1)

Actions #4

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)
  • PHP Version deleted (5)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #5

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF