Loading...
 
Skip to main content

"tiki-edit_structure.php" Add Pages To Current Node list truncates at 50 records. Fix included.

Status
Closed
Subject
"tiki-edit_structure.php" Add Pages To Current Node list truncates at 50 records. Fix included.
Version
1.9.x
Category
  • Error
  • Usability
  • Patch
  • Support request
Feature
Browser Compatibility
Wiki (page view, edit, history, rename, etc)
All / Undefined
Wiki Structure (book & table of content)
Resolution status
Fixed or Solved
Submitted by
mccabem
Volunteered to solve
mccabem
Lastmod by
pkdille
Rating
(0)
Description

The list of tiki pages presented for selection and addition to a structure is truncated at 50 records for no apparent reason and there's no way to add records >50 without running a filter.

I just parroted what I saw in tiki-admin_categories.php for its similar page list and it works.

The diff is below - hope I did that correctly.

  • .backup is the original file from the official tiki releast. *.php is the version I modified.
Solution

diff tiki-edit_structure.php tiki-edit_structure.php.backup
130c130
< $listpages = $tikilib->list_pages(0, -1, 'pageName_asc', $find_objects);


> $listpages = $tikilib->list_pages(0, 50, 'pageName_asc', $find_objects);

Fixed in tiki 3.0 — commit 15006

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1035
Created
Sunday 18 March, 2007 22:13:08 UTC
by Unknown
LastModif
Monday 06 October, 2008 15:38:42 UTC


Show PHP error messages