projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a61058
)
LP#1703678 Show foreign copies even if only one
author
Dan Wells
<dbw2@calvin.edu>
Tue, 31 May 2016 19:51:47 +0000
(15:51 -0400)
committer
Dan Wells
<dbw2@calvin.edu>
Tue, 11 Jul 2017 21:11:55 +0000
(17:11 -0400)
If a record has no copies of its own, but it does have a foreign copy
on a peer bib, show that copy info (and the link to the other record).
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
patch
|
blob
|
history
diff --git
a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2
index
ec8dda4
..
13e3ceb
100644
(file)
--- a/
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
+++ b/
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
@@
-26,7
+26,7
@@
FOREACH copy_info IN copies;
END;
-%]
[%-
-IF has_copies
;
+IF has_copies
or ctx.foreign_copies;
depth = CGI.param('copy_depth').defined ? CGI.param('copy_depth') : CGI.param('depth').defined ? CGI.param('depth') : ctx.copy_summary.last.depth;
total_copies = ctx.copy_summary.$depth.count;
%]