don t display the 1 in location column if there is only 1 item : it's useless & confu...
authortipaul <tipaul>
Mon, 2 Jul 2007 08:50:56 +0000 (08:50 +0000)
committertipaul <tipaul>
Mon, 2 Jul 2007 08:50:56 +0000 (08:50 +0000)
C4/Search.pm

index a0735dd..f35caac 100755 (executable)
@@ -975,7 +975,7 @@ sub searchResults {
             my $this_item = {
                 branchname     => $branches{$items->{$key}->{branchcode}},
                 branchcode     => $items->{$key}->{branchcode},
-                count          => $items->{$key}->{count},
+                count          => $items->{$key}->{count}==1 ?"":$items->{$key}->{count},
                 itemcallnumber => $items->{$key}->{itemcallnumber},
                 location => $items->{$key}->{location},
             };