fixing OPAC copy count display bug
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 26 Feb 2006 03:33:52 +0000 (03:33 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 26 Feb 2006 03:33:52 +0000 (03:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3191 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm

index dfc3c53..9125eae 100644 (file)
@@ -191,6 +191,8 @@ __PACKAGE__->register_method(
 sub record_id_to_copy_count {
        my( $self, $client, $org_id, $record_id, $format ) = @_;
 
+       $format = undef if ($format eq 'all');
+
        my $method = "open-ils.storage.biblio.record_entry.copy_count.atomic";
        my $key = "record";
        if($self->api_name =~ /metarecord/) {