]> git.koha-community.org Git - koha.git/commit
Bug 11282: fix overwriting of existing restrictions when adding new one
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 22 Nov 2013 13:31:31 +0000 (08:31 -0500)
committerFridolin SOMERS <fridolin.somers@biblibre.com>
Thu, 16 Jan 2014 16:32:55 +0000 (17:32 +0100)
commit202f1a4c27ea4cd9514a7887a89aeb31090472c2
treef5a6e2e01a7628d89650574338b8fd4a8cde884b
parentfaf3b5f3f84b0c8b8497fdac368edf00dfb546da
Bug 11282: fix overwriting of existing restrictions when adding new one

This patch fixes a bug where using the patron editor to add a new
restriction overwrote the first existing one.

Test Plan:
1) Edit a patron, add a restriction
2) Edit the patron again, add a second restriction
3) Note the first restriction has disappeared!
4) Apply this patch
5) Edit the patron again, add another restriction
6) Note the previous restriction is not longer removed

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested:
- Adding and removing multiple restrictions from
  - the details tab
  - the checkouts tab
  - the edit patron form
All works as expected.
Patch passes all tests in t, xt, and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit f35fa3d4541a83e8cafeaf5f396e4aacc684e63f)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
members/memberentry.pl