Bug 36844: (QA follow-up) Fix preselected options on set-library.pl
authorNick Clemens <nick@bywatersolutions.com>
Wed, 15 May 2024 11:51:54 +0000 (11:51 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 17 May 2024 08:36:22 +0000 (10:36 +0200)
commitc9e7b7442b08913ab3f7ae22415b42d17939e609
tree492bb37b13e95108cf8ea4a04bc6865414adacb9
parentdc6dcd13bdb381d1af8e3389c707075982909cc0
Bug 36844: (QA follow-up) Fix preselected options on set-library.pl

I found that when switching from a branch with a default register to one without, the default register for
the last branch was remaining selected (though disabled)

When opening the page if no desk was set (choose 'My library' on initial login) the branch was default to 'No desk' rather than defaulting to the first desk of the current branch

Remove a debugging line as well

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt
koha-tmpl/intranet-tmpl/prog/js/staff-global.js