Bug 10565: Add a "Patron List" feature for storing and manipulating collections of...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 Jul 2013 13:38:40 +0000 (09:38 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 21:29:44 +0000 (21:29 +0000)
commit3b70e7e62ce353b16c5292b20d2376711a1a8150
treeac967c097180ea7a573d25f405d3baa9b8ae5f4f
parentd33f9b6d8442390d009c2447df18c026f7b9ff1b
Bug 10565: Add a "Patron List" feature for storing and manipulating collections of patrons

The patron lists feature is somewhat similar to the record lists feature
in that it allows a librarian to create a list of patrons for later
retrieval and manipluation. These lists can then be used with the batch
patron modification tool.

Test Plan:
 0) Apply the patch for Bug 8798
 1) Apply this patch
 2) Run updatedatabase.pl
 3) Access the patron lists feature from Koha's Tools menu.
 4) Create a new list via the "New patron list" button.
 5) For this list, click the "Edit" button, and change the list name.
 6) For this list, click the "Add patrons" button, and search for and
    add some patrons to your list.
 7) For this list select some patrons to remove them.
 8) Try both adding some new patrons, and removing some old patrons
    as a single action.
 9) Click the "Patrons" link on the Koha toolbar
10) Search the patrons, or browse by letter to get patron results
11) Check the checkboxes next to one or more patrons, and add the
    selected patrons to your existing list.
12) Change the "Selected patrons" pulldown to "All resultant patrons"
    and add them to your list.
13) Check the checkboxes next to one or more patrons, and add the
    selected patrons to a new list.
14) Try manipulating a list of patrons using the batch patron
    modification tool.
15) Go back to the Patron Lists feature and delete your lists.
16) Run 'prove t/db_dependent/PatronLists.t'

Signed-off-by: Nora Blake <nblake@masslibsystem.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
19 files changed:
Koha/List/Patron.pm [new file with mode: 0644]
Koha/Schema/Result/PatronList.pm [new file with mode: 0644]
Koha/Schema/Result/PatronListPatron.pm [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/add-modify.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt
members/member.pl
patron_lists/add-modify.pl [new file with mode: 0755]
patron_lists/delete.pl [new file with mode: 0755]
patron_lists/list.pl [new file with mode: 0755]
patron_lists/lists.pl [new file with mode: 0755]
patron_lists/patrons.pl [new file with mode: 0755]
t/db_dependent/PatronLists.t [new file with mode: 0755]
tools/modborrowers.pl