]> 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)
committerAlex Buckley <alexbuckley@catalyst.net.nz>
Mon, 24 Feb 2025 20:43:45 +0000 (20:43 +0000)
commit7b0f6f6bc1f29f65fecd0a1b7c041f3e3cc778f9
tree180ceb01660096a25e140a40947d9dc7b1b9299d
parent3a817ca38070e9363d07480515a767318550f71a
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>
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