From 8ed08abb0e31b537af647097693ac91b7019fa6a Mon Sep 17 00:00:00 2001
From: Kyle M Hall
Date: Wed, 15 Jun 2016 12:27:40 +0000
Subject: [PATCH] [SIGNED-OFF] Bug 14790 - Add Opac view link to search results
Content-Type: text/plain; charset="utf-8"
Test Plan:
1) Apply this patch
2) Perform a staff catalog search
3) Note the new "OPAC view" link
4) Click the link, it should open a new tab to the OPAC details for that
record.
This works fine except that it doesn't open in a new tab. I don't think
it's the fault of the patch, but of browser.js messing with links again
(See Bug 11937).
Signed-off-by: Owen Leonard
---
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 6 +++++-
1 file changed, 5 insertions(+), 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 6e71a41..2d86c12 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
@@ -564,7 +564,11 @@ var holdForPatron = function () {
[% END %]
[% IF ( CAN_user_editcatalogue_edit_items ) %]
| Edit items
- [% END %]
+ [% END %]
+
+ | OPAC view
+
+
--
2.1.4 |