]> git.koha-community.org Git - koha.git/commit
Bug 26336: Disable 'Item processing' dropdown if no item
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 1 Sep 2020 13:47:27 +0000 (15:47 +0200)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 15 Dec 2020 21:02:01 +0000 (21:02 +0000)
commit88abfc8f296f789ff15b05f1243af9c66cdb5d46
tree88b08a0c5a6349bac31483565b8bc642c63765b4
parent86012e08b0cd47efe0e5b78bf76af370c6029a1d
Bug 26336: Disable 'Item processing' dropdown if no item

If there is no item to process and they have been ignored during the
stage step, we should not let the user modify the dropdown value

Test plan:
0 - Check the count of import_items
    SELECT COUNT(*) FROM import_items;
1 - Import a marc file with items , process the items
2 - Check the count of import items, it has increased
3 - Stage the file again, do not process items
4 - Count of import_items has not increased
5 - Manage the stage batch
Confirm that you cannot modify the "Item processing" value

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit cee2e630b4e26ebfaef6cf3f41a79df3cf697b01)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 6ed7950630e4b0ca9d4629a726ee1b3909254cad)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc