]> git.koha-community.org Git - koha.git/commit
Bug 18426: Allow to edit subscriptions in batch
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 11 Apr 2017 16:07:47 +0000 (18:07 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 23 Apr 2018 17:22:13 +0000 (14:22 -0300)
commit4e698f7b478a094d7b32ebfeaa917bca05ebcc5b
tree73e0532b80a62538a6cf8a4b085d9b15c7f2e685
parentd119336f19afb3e869b5b31752288ecc7216fa3f
Bug 18426: Allow to edit subscriptions in batch

This adds a checkbox column in serials-search.pl tables that allow to edit
selected subscriptions.
The following fields can be modified:
 - Bookseller
 - Location
 - Library
 - Item type
 - Public note
 - Nonpublic note
 - "Create item when receiving" flag
 - Expiration date
+ the additional fields defined in serials/add_fields.pl

Test plan:

1. Go to Serials module
2. If there is no additional fields defined, define some (at least one with an
   authorized value and one without)
3. Start a subscription search
4. Select some results using the checkboxes and click the "Edit" button above
   the table
5. Select values for some fields (not all) and click "Start batch edit"
6. Verify you are being redirected to the previous search results
7. Verify that the fields for which you selected a value were modified and that
   the others fields weren't
8. Repeat steps 4 to 7 but this time, modify the other fields.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt [new file with mode: 0644]
serials/subscription-batchedit.pl [new file with mode: 0755]