don t display the 1 in location column if there is only 1 item : it's useless & confusing for users

This commit is contained in:
tipaul 2007-07-02 08:50:56 +00:00
parent d27c5bb427
commit b83f4286b2
1 changed files with 1 additions and 1 deletions

View File

@ -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},
};