Update of /cvsroot/fink/web/pdb
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv20315

Modified Files:
        handle_options.inc 
Log Message:
don't expand if sort is set to asc

Index: handle_options.inc
===================================================================
RCS file: /cvsroot/fink/web/pdb/handle_options.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- handle_options.inc  5 Dec 2007 21:24:26 -0000       1.3
+++ handle_options.inc  5 Dec 2007 21:42:41 -0000       1.4
@@ -44,7 +44,7 @@
 }
 
 // are there any advanced search options? If no, collapse advanced search div
-if ($_GET['maintainer'] || $_GET['name'] || $_GET['dist'] || $_GET['tree'] || 
$_GET['section'] || $_GET['nochildren'] || $_GET['noshlibsdev'] || 
$_GET['sort'] || $_GET['name_exact'])
+if ($_GET['maintainer'] || $_GET['name'] || $_GET['dist'] || $_GET['tree'] || 
$_GET['section'] || $_GET['nochildren'] || $_GET['noshlibsdev'] || 
(!empty($_GET['sort']) && $_GET['sort'] != "asc") || $_GET['name_exact'])
   $pdb_has_adv_searchoptions = true;
 else
   $pdb_has_adv_searchoptions = false;


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to