[Koha-bugs] [Bug 25440] Remove undef and CGI warnings and fix defaults in circulation rules
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun May 10 18:09:55 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25440
--- Comment #6 from Andrew Nugged <nugged at gmail.com> ---
Created attachment 104640
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104640&action=edit
Bug 25440: Fixed list of 'show_rule' forming variables in the template
In smart-rules.tt we have `SET show_rule = ...` section which filled
with 'all used in the loop' variables. Because if historical reasons it
seems that there are some missing, few old, and even doubled ones.
This list is fixed now by:
- variable names 'article_requests' and 'renewalsallowed' repeated
so duplicates are removed;
- 'hardduedatebefore' and 'hardduedateexact' not present in the whole
site code anywhere anymore;
IMPORTANT NOTE: these 'hardduedatebefore/hardduedateexact' also
exists as remnants in .po-translation files, a lot.
- 'note', 'hardduedatecompare', 'renewalperiod', 'rentaldiscount'
template variables were missing from this 'show_rule =' checking
code so they are added.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list