[open-ils-commits] r17309 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Search (gmc)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 23 11:09:15 EDT 2010
Author: gmc
Date: 2010-08-23 11:09:13 -0400 (Mon, 23 Aug 2010)
New Revision: 17309
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
Log:
display copy counts correctly in staff search results
Also fixes following warning:
Useless use of a constant in void context at .../OpenILS/Application/Search/Biblio.pm line 263.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2010-08-23 14:51:06 UTC (rev 17308)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2010-08-23 15:09:13 UTC (rev 17309)
@@ -260,7 +260,7 @@
return [] unless $record_id;
my $key = $self->api_name =~ /metarecord/ ? 'metarecord' : 'record';
- my $staff =~ $self->api_name =~ /staff/ ? 't' : 'f';
+ my $staff = $self->api_name =~ /staff/ ? 't' : 'f';
my $data = $U->cstorereq(
"open-ils.cstore.json_query.atomic",
More information about the open-ils-commits
mailing list