View Issue Details

IDProjectCategoryView StatusLast Update
0000233XMB1New Featurespublic2009-01-07 21:51
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritylowSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Target Version1.9.11Fixed in Version1.9.11 
Summary0000233: Move $max_page Code Into functions.inc.php
DescriptionThe logic for $max_page, $start_limit, and the related Not Found response code is becoming very repetitive in several files. This should be moved into a new function that complements function multi(). Actually, it might be possible to add this code and its parameters to the original function.

Prototype:
function multi($num, $perpage, $mpurl, &$start_limit, $strict = false);

I have already confirmed the $page and $max_page variables are not used in any templates. It would be necessary to check if any scripts are using them. The $strict parameter might be eliminated.
TagsAPI
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision1556
Git Commit

Relationships

related to 0000248 closedmiqrogroove Screwed up multi-page in member search 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2008-12-28 18:28 miqrogroove New Issue
2008-12-28 18:29 miqrogroove Tag Attached: API
2009-01-03 18:20 miqrogroove Status new => assigned
2009-01-03 18:20 miqrogroove Assigned To => miqrogroove
2009-01-03 22:11 miqrogroove SVN Revision => 1556
2009-01-03 22:11 miqrogroove Status assigned => resolved
2009-01-03 22:11 miqrogroove Fixed in Version => 1.9.11
2009-01-03 22:11 miqrogroove Resolution open => fixed
2009-01-07 21:51 miqrogroove Status resolved => closed
2009-01-08 02:26 miqrogroove Relationship added related to 0000248