From 4c995e2bf73aec4cb3ed5727d1d27feefa3d134e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 27 Dec 2011 14:46:54 -0500 Subject: [PATCH] Bug 7381 - wrong isbn showing on the staff search results Outputting the "raw" ISBN. In the case of multiples, ISBNs are concatenated with " | " Using a T:T filter to make these a comma-separated list. Signed-off-by: Nicole C. Engard Added a record and confirmed that the right ISBN shows on the search results and that the amazon cover image still works. Signed-off-by: Paul Poulain (cherry picked from commit 8deb21a2c02e3d0678c44e37a8501de56228b256) Signed-off-by: Chris Nighswonger (cherry picked from commit 63ca9460c826a2c28080f323cdc7c0d72a991a39) Signed-off-by: Chris Nighswonger --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 4b4e0889e4..52969f3a92 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -493,7 +493,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () { [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %] [% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% ELSIF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %] [% IF ( SEARCH_RESULT.edition ) %]Edition: [% SEARCH_RESULT.edition %][% END %] [% IF ( SEARCH_RESULT.pages ) %]: [% SEARCH_RESULT.pages %][% END %] - [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %] [% IF ( SEARCH_RESULT.normalized_isbn ) %]ISBN: [% SEARCH_RESULT.normalized_isbn %][% END %] + [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %] [% IF ( SEARCH_RESULT.isbn ) %]ISBN: [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%][% END %] [% SEARCH_RESULT.description %] [% IF ( SEARCH_RESULT.timestamp ) %] (modified on [% SEARCH_RESULT.timestamp %])[% END %] [% IF ( SEARCH_RESULT.cn_class ) %][[% SEARCH_RESULT.cn_class %]][% END %] -- 2.39.5