projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 10281: searching for a search domain fails
[koha_fer]
/
catalogue
/
detail.pl
diff --git
a/catalogue/detail.pl
b/catalogue/detail.pl
index
ec6f6eb
..
a5b32c6
100755
(executable)
--- a/
catalogue/detail.pl
+++ b/
catalogue/detail.pl
@@
-281,6
+281,14
@@
foreach my $item (@items) {
}
}
}
}
+# Display only one tab if one items list is empty
+if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) {
+ $template->param(SeparateHoldings => 0);
+ if (scalar(@itemloop) == 0) {
+ @itemloop = @otheritemloop;
+ }
+}
+
$template->param( norequests => $norequests );
$template->param(
MARCNOTES => $marcnotesarray,
$template->param( norequests => $norequests );
$template->param(
MARCNOTES => $marcnotesarray,