]> git.koha-community.org Git - koha.git/commit
Bug 31519: Move preference fetching directly to be done in the template
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Sun, 4 Sep 2022 07:46:16 +0000 (10:46 +0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 11 Oct 2022 13:08:29 +0000 (10:08 -0300)
commit2569fd0aee02040047102d8a56b492b52a5e3567
tree26f08f5eedbcbecd58e0e5027643cad313fbf810
parent405380ddf51ffe23c00dcf73f9a800122c78d304
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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/request.pl