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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Sep 2023 15:08:34 +0000 (12:08 -0300)
commited2b395a1084d9c064e1631f3f68215ce9df7702
tree0da6c2100d54ccd22f843fdf1b7fe9886627bef5
parentb38780f6cb0ec0cddc0fdbf8cc2c1a3c6dcecfb6
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>
Koha/Patrons/Import.pm