]> git.koha-community.org Git - koha.git/commit
Bug 36081: Use multivalue_preference
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jan 2025 15:48:40 +0000 (16:48 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 26 Feb 2025 12:46:32 +0000 (13:46 +0100)
commit899f0a7c8ff9fcf9979f99652a6f6ad929281c13
tree745bbd7be081820ad975dfa4f07cccc9db27b5f8
parentea1fbf8e7bb883822d7e810bc21aa67e45a62a65
Bug 36081: Use multivalue_preference

C4::Context->multivalue_preference is not used so far and split on |
However the values of "multiple" sysprefs are separated by... comma!

Let support both here.

This patch also removes silly JS code in the template.

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
(cherry picked from commit 7b0f6f6bc1f29f65fecd0a1b7c041f3e3cc778f9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Context.pm
Koha/ArticleRequest.pm
Koha/Template/Plugin/Koha.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt
t/Context.t