]> git.koha-community.org Git - koha.git/commit
Bug 15766: Adding descriptions to patron card batches
authorAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 27 Aug 2017 21:48:06 +0000 (21:48 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Oct 2018 13:52:40 +0000 (13:52 +0000)
commit5a4f7c6c0e0d4a6e518415a673abd3c406c89b36
treeb836baeb930ecfc4f728236102ce1f39e00a7dea
parent023ab5845ac53c9f80ee69562d6c26f85b8b00f4
Bug 15766: Adding descriptions to patron card batches

This patch adds a 'description' column to the creator_batches table. The
description for a batch can be added and updated using ajax.

To test:
1) Apply patch and update database (you will have to restart memcached)
2) Go to Tools -> Patron card creator -> Manage batches
3) There should now be a Description column next to Batch ID. This
will be empty (as none of the batches have descriptions yet)
4) Click Edit for any batch
5) Notice new Batch description text field. Enter a description for
the batch in here and click Save description. Some text should show
saying the description was saved.
6) If you go back to the manage batches page, the description should
now show under the Description column.
7) Go to Tools -> Label Creator -> Manage labels
8) Repeat steps 3 to 6

Sponsored-by: Catalyst IT
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Creators/Batch.pm
C4/Creators/Lib.pm
installer/data/mysql/atomicupdate/bug_15766_-_add_description_column_to_batches.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt
labels/label-edit-batch.pl
labels/label-manage.pl
patroncards/edit-batch.pl
patroncards/manage.pl
svc/creator_batches [new file with mode: 0644]