Update of /cvsroot/fink/web/pdb In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv12736
Modified Files: package.php Log Message: fix parentname query when a package has an epoch Index: package.php =================================================================== RCS file: /cvsroot/fink/web/pdb/package.php,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- package.php 5 Dec 2007 21:18:31 -0000 1.56 +++ package.php 6 Dec 2007 17:21:15 -0000 1.57 @@ -305,7 +305,7 @@ $sq = new SolrQuery(); $sq->addQuery('rel_id:' . $pobj['rel_id'], true); - $sq->addQuery('parentname_e:' . $pobj['pkg_id'], true); + $sq->addQuery('parentname_e:\"' . $pobj['pkg_id'] . '"', true); $splitoffs = $sq->fetch(); if ($splitoffs != null && count($splitoffs) != 0) { ------------------------------------------------------------------------- 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