]> git.koha-community.org Git - koha.git/commit
Bug 23218: Fix shift in patron's attributes in batch patron modification
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 29 Jun 2019 15:18:29 +0000 (10:18 -0500)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 13 Aug 2019 20:09:58 +0000 (20:09 +0000)
commit797b2fe285cfa6d44dc28418bb6355210b8122a5
treeb0a8a478d2470bc5f893b15eca3093ca788ea53e
parentc65b97a16c34ed937b3f1313660882a6735c4b27
Bug 23218: Fix shift in patron's attributes in batch patron modification

When the "new" button is clicked without selecting a patron's attribute, the update will have unexpected behaviors.

There is indeed a difference in the number of patron's attributes and the number of values.

Test plan:
Go to the batch patron modification
Enter a cardnumber
At the bottom of the page, click "new" without selecting an attribute
On the second line select one, and a value (different than an empty
string)
Save
=> The attribute will be updated with an empty string

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit ea0127b7fa53335f3e9d3f0170fbc92b2ffd9e3c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit b1e0a867c9ee6dbd9887c40e26efceb60e50b610)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt