]> git.koha-community.org Git - koha.git/commit
Bug 36129: Make check on "Hide all columns" persist on item patch modification/deletion
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Mon, 19 Feb 2024 10:55:26 +0000 (12:55 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 10 Sep 2024 14:19:44 +0000 (16:19 +0200)
commite1fa520018de20af200826d49088f50b32793d22
treeb89af6b5d8e8019db6d269a65c5c8da0d7b4973d
parentbf444f0e48be90a726b3eb89495452f925a36780
Bug 36129: Make check on "Hide all columns" persist on item patch modification/deletion

On item patch modification/deletion tool, if one checks
"Hide all columns" checkbox and then reloads the page,
checkbox is no longer selected. Columns are hidden as
they should. This patch adds line to batchMod.js which
sets "checked" attribute and class "selected" to checkbox.

To test:
1. Find items to modify/delete and modify/delete them with
corresponding tool.
2. Check checkbox "Hide all columns".
3. Refresh the page.
=> Note that columns are still hidden, but checkbox is now
unselected.
4. Apply this patch.
5. Check checkbox again and refresh page.
=> Checkbox should be still checked.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 1a154f1f0e1fa4d5c7295ba181fc27eaff99fd09)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 909987cd4db25088e68b5ca75404f25dab6b3fba)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js