Bug 12525: Prevent adding several patron lists with the same name
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 15 Jul 2015 10:50:18 +0000 (11:50 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 7 Sep 2015 14:49:03 +0000 (11:49 -0300)
commit7f65aaac748833b57f9f1c8ae754d66c7e144d81
tree385148160b3d6d5cde81bd834ec2a18b5024a0cc
parente2e50e0b06587f45c5370b313ff7a7d7a432bcd5
Bug 12525: Prevent adding several patron lists with the same name

If you add patron to a patron list, from the patron search result, a
list is created when you click on "Save".
The list is considered as new each time.

To reproduce:
1/ Launch a patron search
2/ Select 1 patron, and create a new list 'aaa'
3/ Select another patron and click Save again
2 lists are created

Test plan:
1/ Launch a patron search
2/ Select 1 patron, and create a new list 'aaa'
The dropdown list should be populated with this new list, and should be
selected
3/ Select another patron and click Save again
Only 1 list should be created

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt