Bug 12648: Refactoring to prepare user search for reuse
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 24 Jul 2014 11:33:06 +0000 (13:33 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Mar 2015 14:47:25 +0000 (11:47 -0300)
commitbb1beb4f5d45fd288ad1ed8cb893b4bd2a01c1db
tree62037f29b257ff3f4a74a67c5ab54b5cfe703648
parent1072b9267641ab3e51ab5b63319d1d0a2033cae7
Bug 12648: Refactoring to prepare user search for reuse

A previous enhancement allows to link basket with patrons.
Next patches will use the same way to link order with patrons.

In order to avoir c/p of code, this patch refactores this part of code.

Test plan:
1/ Verify there is no regression on adding/modifying users to a basket.
(acqui/basket.pl?basketno=XXX, "Managed by", "Add user").
2/ Note that you get a friendly message if the user is already present in the
list and when the user has correctly been added to the list.
3/ Note that the list uses the member search service (ie. DataTable +
serverside processing).

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Utils/DataTables/Members.pm
acqui/add_user_search.pl [new file with mode: 0755]
acqui/aqbasketuser_search.pl [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/add_user_search.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/aqbasketuser_search.tt [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/tables/members_results.tt [new file with mode: 0644]
svc/members/search