From: Dan Wells Date: Fri, 7 Sep 2012 13:50:11 +0000 (-0400) Subject: Remove defunct variable from 'jtitle' code X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4ecaab1de92e01221d223ebd9784d9d3921400d1;p=evergreen%2Fequinox.git Remove defunct variable from 'jtitle' code With the second part of the 'jtitle' code moved elsewhere, we no longer need this extra '$q' variable. No big deal, but best to sweep up while we're in here. Signed-off-by: Dan Wells Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm index 574e10eb3c..04797fa893 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm @@ -26,8 +26,7 @@ sub _prepare_biblio_search_basics { next unless $query =~ /\S/; # Hack for journal title - my $q = $qtype; - if ($q eq 'jtitle') { + if ($qtype eq 'jtitle') { $qtype = 'title'; }