Bugzilla – Attachment 95650 Details for
Bug 24058
Acquisition table displayed even if no order exist (bib detail)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24058: acquisition table displayed even if no order exist (bib detail)
Bug-24058-acquisition-table-displayed-even-if-no-o.patch (text/plain), 1.68 KB, created by
Marcel de Rooy
on 2019-11-21 08:43:26 UTC
(
hide
)
Description:
Bug 24058: acquisition table displayed even if no order exist (bib detail)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-11-21 08:43:26 UTC
Size:
1.68 KB
patch
obsolete
>From b35ef6801ab6d179670b8e8e04952fdbef5611e6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 18 Nov 2019 18:55:39 +0000 >Subject: [PATCH] Bug 24058: acquisition table displayed even if no order exist > (bib detail) >MIME-Version: 1.0 >Content-Type: text/plain; charset=utf-8 >Content-Transfer-Encoding: 8bit >Content-Type: text/plain; charset=utf-8 > >This patch corrects the template check for existence of acquisitions >data on the bibliographic detail page. Now it will correctly hide the >DataTable when there is no data. > >To test, apply the patch and enable the AcquisitionDetails system >preference. > > - View the bibliographic detail page for a title which has no > associated Acquisitions data. Under the "Acquisitions details" tab > you should see only a message, "There is no order for this biblio." > > - View the detail page for a title which has associated Acquisitions > data. The "Acquisitions details" tab should show the correct > information. > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 571f3b2395..daa9c20bee 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -580,7 +580,7 @@ > > [% IF Koha.Preference('AcquisitionDetails') %] > <div id="acq_details"> >- [% IF orders %] >+ [% IF orders.count %] > <table id="orders"> > <thead> > <tr> >-- >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 24058
:
95523
|
95528
| 95650