[Refdb-cvs] CVS: refdb/phpweb include.php,1.1.2.2,1.1.2.3 refdbsearch.php.in,1.1.2.1,1.1.2.2
Status: Beta
Brought to you by:
mhoenicka
From: Tom B. <tba...@us...> - 2006-02-10 15:27:56
|
Update of /cvsroot/refdb/refdb/phpweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11320/phpweb Modified Files: Tag: Release_0_9_5_stable include.php refdbsearch.php.in Log Message: added the escape of the ~ to the "is LIKE" search corrected problem of searches like :ID:>1 redirectign output Index: include.php =================================================================== RCS file: /cvsroot/refdb/refdb/phpweb/include.php,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -U2 -r1.1.2.2 -r1.1.2.3 --- include.php 7 Sep 2005 21:31:45 -0000 1.1.2.2 +++ include.php 10 Feb 2006 15:27:44 -0000 1.1.2.3 @@ -21,5 +21,5 @@ $equals = array("exact"=>"=", - "like"=>"~"); + "like"=>"\~"); //This array contains the more fields to be included in the display of Index: refdbsearch.php.in =================================================================== RCS file: /cvsroot/refdb/refdb/phpweb/Attic/refdbsearch.php.in,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -U2 -r1.1.2.1 -r1.1.2.2 --- refdbsearch.php.in 17 Sep 2005 20:58:27 -0000 1.1.2.1 +++ refdbsearch.php.in 10 Feb 2006 15:27:44 -0000 1.1.2.2 @@ -17,5 +17,5 @@ if( $searchFields == "" ) { - $searchFields = "ALL"; + $searchFields = "all"; } return $searchFields; @@ -76,8 +76,8 @@ if($scope == "prl") { - $cmd = $cmd."-p "; + $cmd = $cmd."-P "; } -$terms = ""; +$terms = "'"; //The following if sets the query for the Simple Query @@ -151,5 +151,5 @@ } -$cmd = $cmd.$terms; +$cmd = $cmd.$terms."'"; exec($cmd, $lines); |