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:
4103ef0
)
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 Scott
<dscott@laurentian.ca>
Fri, 18 Aug 2017 18:09:17 +0000
(14:09 -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>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
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
6be5346
..
874c10e
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;
%]