[open-ils-commits] r8858 - trunk/Open-ILS/src/perlmods/OpenILS/WWW
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Mar 3 19:18:09 EST 2008
Author: miker
Date: 2008-03-03 18:45:56 -0500 (Mon, 03 Mar 2008)
New Revision: 8858
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
Log:
remove grouping -- causing some extranious search terms
Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm 2008-03-03 23:27:56 UTC (rev 8857)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm 2008-03-03 23:45:56 UTC (rev 8858)
@@ -1365,10 +1365,8 @@
my $self = shift;
my $left = $self->left();
my $right = $self->right();
- my $leftStr = $left->isa('CQL::TermNode') ? $left->toEvergreen()
- : '('.$left->toEvergreen().')';
- my $rightStr = $right->isa('CQL::TermNode') ? $right->toEvergreen()
- : '('.$right->toEvergreen().')';
+ my $leftStr = $left->toEvergreen;
+ my $rightStr = $right->toEvergreen();
my $op = '||' if uc $self->op() eq 'OR';
$op ||= '&&';
More information about the open-ils-commits
mailing list