Bugzilla – Attachment 99053 Details for
Bug 23592
Add a shortcut from suggestion details to the bibliographic details in the staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23592: Link to the bibliographic record from the suggestion
Bug-23592-Link-to-the-bibliographic-record-from-th.patch (text/plain), 1.90 KB, created by
Katrin Fischer
on 2020-02-14 22:11:59 UTC
(
hide
)
Description:
Bug 23592: Link to the bibliographic record from the suggestion
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-14 22:11:59 UTC
Size:
1.90 KB
patch
obsolete
>From 9b910ffef9b934739ae33f32dcdf8983606560b5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 12 Nov 2019 21:24:24 +0100 >Subject: [PATCH] Bug 23592: Link to the bibliographic record from the > suggestion >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >If there is a link between a suggestion and a bibliographic record (ie. >if suggestion.biblionumber is set), it makes sense to have an hyperlink >on the suggestion detail page. > >Test plan: >- Create 2 suggestions >- Create an order from one of them >- Go to the detail page of the suggestion >=> The one with the order has a to the bibliographic record >=> The other one is not linked with a bibliographic record, and so the >title is displayed, without hyperlink > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index 0d7d23a84a..adc03227a5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -65,7 +65,11 @@ > [% IF ( title ) %] > <li> > <span class="label">Title:</span> >- [% title | html %] >+ [% IF suggestion.biblionumber %] >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% suggestion.biblionumber | uri %]">[% suggestion.title | html %]</a> >+ [% ELSE %] >+ [% title | html %] >+ [% END %] > </li> > [% END %] > [% IF ( author ) %] >-- >2.11.0
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 23592
:
95350
|
95400
| 99053