[Koha-bugs] [Bug 24058] New: acquisition table displayed even if no order exist (bib detail)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 18 16:16:29 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24058
Bug ID: 24058
Summary: acquisition table displayed even if no order exist
(bib detail)
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: Academy
Severity: normal
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
Depends on: 20366
The acquisition table is displayed on the bibliographic detail page, even if
the record has not been ordered.
It is caused by
commit 43326754b110c62fbb2909eea1595656833f8c02
Bug 20366: Add subscription info to the acq tab on the biblio detail page
The "orders" variable sent to the template switched from an arrayref to a
Koha::Acquisition::Orders object.
The condition [% IF orders %] in the template is no longer correct (always
true) and must be replaced with [% IF orders.count %]
Wrong display:
https://snipboard.io/wXOHLJ.jpg
Expected display:
https://snipboard.io/E8GP6K.jpg
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20366
[Bug 20366] More information about orders linked to subscriptions on
"Acquisition details" tab
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list