Bug 24201: (QA follow-up) Replace library select
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 7 Aug 2020 14:38:54 +0000 (15:38 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 Aug 2020 14:54:40 +0000 (16:54 +0200)
commit692191692429661e5b6a35a5e8198976c4f73cdc
tree4af9fd32b491d1a3122f149a947a7263f5fdcd1a
parent0e440c07bd5d574e3202cb94846fe5d898fe0a0d
Bug 24201: (QA follow-up) Replace library select

Removing the library select entirely results in a JS failure for desk
selection when independant branches is enabled and the user does not
have permission to select a library.

This patch adds a hidden select element so we can still grab the current
branch from the selection.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt