Quote by ivy: We guess this might be a bug.
Text Formatted Code
ex) http://www.geeklog.net/filemgmt/viewcat.php?cid=1
click Sort by: Title (up) OK!
http://www.geeklog.net/filemgmt/viewcat.php?cid=1&orderby=titleA
click Sort by: Title (down) Error!
http://www.geeklog.net/filemgmt/viewcat.php?cid=1orderby=titleD
--->
http://www.geeklog.net/filemgmt/viewcat.php?cid=1&orderby=titleD
She says an ampersand is missing between "cid=foo" and "orderby=bar" in the URL link to sort files in the descending order. Another member of Geeklog.jp suggests modifying some code in /public_html/filemgmt/viewcat.php like:
82a83
> $orderby_b = $orderby;
168c169,174
set_var('page_navigation', COM_printPageNavigation($base_url,$page, $numpages));
---
> if(isset($orderby_b) AND $orderby_b != "") {
> $page_str='orderby='.$orderby_b.'&page=';
> } else {
> $page_str='page=';
> }
> $p->set_var('page_navigation', COM_printPageNavigation($base_url,$page, $numpages,$page_str));
How about this?
--
mystral_kk (Geeklog.jp)
-- mystral-kk, "Every cloud has a silver lining."