cvs: pearweb /include/pepr pepr.php
| From: | Tobias Schlitt | Date: | Sat, 11 Sep 2004 08:19:21 +0000 |
| Subject: | cvs: pearweb /include/pepr pepr.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-23821@lists.php.net to get a copy of this message | ||
toby Sat Sep 11 04:19:21 2004 EDT
Modified files:
/pearweb/include/pepr pepr.php
Log:
* Fix order for search.
http://cvs.php.net/diff.php/pearweb/include/pepr/pepr.php?r1=1.53&r2=1.54&ty=u
Index: pearweb/include/pepr/pepr.php
diff -u pearweb/include/pepr/pepr.php:1.53 pearweb/include/pepr/pepr.php:1.54
--- pearweb/include/pepr/pepr.php:1.53 Mon Sep 6 03:15:11 2004
+++ pearweb/include/pepr/pepr.php Sat Sep 11 04:19:18 2004
@@ -22,7 +22,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: pepr.php,v 1.53 2004/09/06 07:15:11 toby Exp $
+ * @version $Id: pepr.php,v 1.54 2004/09/11 08:19:18 toby Exp $
*/
/**#@+
@@ -291,7 +291,8 @@
FROM package_proposals
WHERE pkg_describtion LIKE ".$dbh->quoteSmart($searchString)."
OR pkg_name LIKE ".$dbh->quoteSmart($searchString)."
- OR pkg_category LIKE ".$dbh->quoteSmart($searchString);
+ OR pkg_category LIKE ".$dbh->quoteSmart($searchString)."
+ ORDER BY status ASC, draft_date DESC";
$res = $dbh->query($sql);
if (DB::isError($res)) {
return $res;