"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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1035
- Created
- Sunday 18 March, 2007 22:13:08 UTC
by Unknown - LastModif
- Monday 06 October, 2008 15:38:42 UTC