Bugzilla – Attachment 52890 Details for
Bug 14790
Link to OPAC view from within subscriptions, search and item editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14790 - Add Opac view link to search results
Bug-14790---Add-Opac-view-link-to-search-results.patch (text/plain), 1.88 KB, created by
Jonathan Druart
on 2016-06-27 12:39:10 UTC
(
hide
)
Description:
Bug 14790 - Add Opac view link to search results
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-06-27 12:39:10 UTC
Size:
1.88 KB
patch
obsolete
>From 8f692f7a3ee77a2b38c0c8ad83e35d4cfd929ec6 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 15 Jun 2016 12:27:40 +0000 >Subject: [PATCH] Bug 14790 - Add Opac view link to search results > >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 <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 83b1b49..5c65988 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -600,7 +600,11 @@ var holdForPatron = function () { > [% END %] > [% IF ( CAN_user_editcatalogue_edit_items ) %] > | <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Edit items</a> >- [% END %]</p> >+ [% END %] >+ <span class="view-in-opac"> >+ | <a href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" target="_blank">OPAC view</a> >+ </span> >+ </p> > </td> > > <td><div class="availability"> >-- >2.8.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14790
:
52427
|
52428
|
52429
|
52430
|
52434
|
52435
|
52436
|
52437
|
52438
|
52439
|
52737
| 52890 |
52891
|
52892
|
52893