Bug 17364: (follow-up) Do not check excluded fields

When clicking on "Select all" excluded fields are selected.
Even if they are not saved into preference, this is disturbing.

Test plan :
1) Edit BorroweUnwantedFields system preference
2) Click "Select all"
3) See that branchcode is not selected

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Fridolin Somers 2020-12-17 09:05:25 +01:00 committed by Jonathan Druart
parent b986a8419b
commit 92f1c60a0e

View file

@ -280,7 +280,7 @@ $( document ).ready( function () {
$("#select_all").on("click",function(e){
e.preventDefault();
$(".dbcolumn_selection").prop("checked", true);
$(".dbcolumn_selection:not(:disabled)").prop("checked", true);
});
$("#clear_all").on("click",function(e){
e.preventDefault();