From b83f4286b2da7e5f0236166cc9c32ac6d29f6673 Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 2 Jul 2007 08:50:56 +0000 Subject: [PATCH] don t display the 1 in location column if there is only 1 item : it's useless & confusing for users --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index a0735dd58d..f35caacd33 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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}, }; -- 2.20.1