Bugzilla – Attachment 106585 Details for
Bug 20799
Add a link from biblio detail view to ILL request detail view, if a biblio has an ILL request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20799: (follow-up) Add ILLModule system preference check and fix display for no requests
Bug-20799-follow-up-Add-ILLModule-system-preferenc.patch (text/plain), 1.32 KB, created by
Martin Renvoize (ashimema)
on 2020-07-06 14:37:35 UTC
(
hide
)
Description:
Bug 20799: (follow-up) Add ILLModule system preference check and fix display for no requests
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-07-06 14:37:35 UTC
Size:
1.32 KB
patch
obsolete
>From 732852630863063c3d2fb894065d2ae01f0ca6aa Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Mon, 29 Jun 2020 17:56:31 +0200 >Subject: [PATCH] Bug 20799: (follow-up) Add ILLModule system preference check > and fix display for no requests > >When there were no requests the label would still display, using .count fixes this. >Also adds a check on the ILLModule system preference to prevent the information from >showing when the ILL module is deactivated. > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 88737e1df9..f0f41dc128 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -128,7 +128,7 @@ > </span> > [% END %] > >- [% IF ( illrequests ) %] >+ [% IF ( Koha.Preference( 'ILLModule' ) && illrequests.count ) %] > <span class="results_summary"> > <span class="label">ILL requests:</span> > [% IF CAN_user_ill %] >-- >2.20.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 20799
:
96102
|
96103
|
96105
|
106407
|
106408
|
106584
| 106585 |
107175
|
107277