Bugs item #758044, was opened at 2003-06-20 19:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106121&aid=758044&group_id=6121
Category: version 1.3.x (experimental)
Group: PHP error
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Baute (devsolar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Plugin UnfoldSubpages does not sort (includes fix)
Initial Comment:
The plugin UnfoldSubpages advertises support for
sorting, but never evaluates the $sort parameter.
The code was in there in version 1.3 of
phpwiki/lib/plugin/UnfoldSubpages.php, but commented
out - sorting thus never worked.
About line 129 of file version 1.7, I exchanged
$subpages = array_reverse($subpages);
with
if ($sort != 'asc') {
$subpages = array_reverse($subpages);
}
Worked for me. Hint: $sortby, another parameter to the
plugin, also never gets evaluated...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106121&aid=758044&group_id=6121
|