]> git.koha-community.org Git - koha.git/commit
Bug 34617: Preserve calculated expiration dates if set to update on import whether...
authorNick Clemens <nick@bywatersolutions.com>
Fri, 25 Aug 2023 14:51:28 +0000 (14:51 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 8 Sep 2023 06:09:53 +0000 (20:09 -1000)
commit0cdabc65f0494252cfb391f88888ae732a2bfd4c
tree4e55512bb3d720701cdf8f031dd2939734c7b772
parent6a9c3eeeb4166fa267853100f278d2027a202a22
Bug 34617: Preserve calculated expiration dates if set to update on import whether column included or not

To test:
1 - Setup a csv with column headers:
    surname firstname branchcode categorycode cardnumber dateenrolled
2 - add values
    Acosta Edna CPL PT 23529001000463 02/01/2013
3 - Set PT catgeory enrollement period to a specific date in the future
4 - Import the file and overwrite patrons and update dateexpiration
5 - Check Edna, note her date is not correct
6 - Apply patch
7 - Repeat
8 - Expiration date is now set as expected

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit ed2b395a1084d9c064e1631f3f68215ce9df7702)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patrons/Import.pm