[Koha-bugs] [Bug 31519] Unused template parameters in request.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 4 09:50:04 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31519

--- Comment #2 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 140200
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140200&action=edit
Bug 31519: Move preference fetching directly to be done in the template

Since we are not in a loop or using this multiple times it's simple to
do it this way, helps with changing the template code in the future
too since if we want to remove this syspref variable we know it is
only used in this one particular place.

To test:
 1) Grep for reserve_in_future and make sure there are no matches
    after applying this patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list