Bugzilla – Attachment 95350 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.69 KB, created by
Jonathan Druart
on 2019-11-12 20:28:32 UTC
(
hide
)
Description:
Bug 23592: Link to the bibliographic record from the suggestion
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-12 20:28:32 UTC
Size:
1.69 KB
patch
obsolete
>From 062248fd61ba7f4498617ac1fc1bc0185c1d6a97 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 > >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 >--- > 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 ca225e841b..921556c758 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -62,7 +62,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