projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d27c5bb
)
don t display the 1 in location column if there is only 1 item : it's useless & confu...
author
tipaul
<tipaul>
Mon, 2 Jul 2007 08:50:56 +0000
(08:50 +0000)
committer
tipaul
<tipaul>
Mon, 2 Jul 2007 08:50:56 +0000
(08:50 +0000)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
a0735dd
..
f35caac
100755
(executable)
--- 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},
};