[Koha-bugs] [Bug 34621] New: Patron import option to 'Renew existing patrons' 'from the current membership expiry date' not implemented

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 25 18:20:19 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34621

            Bug ID: 34621
           Summary: Patron import option to 'Renew existing patrons' 'from
                    the current membership expiry date' not implemented
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

On bug 27920 the interface got a new option to extend the patron's renewal from
the current membership expiry date by setting the variable 'update_dateexpiry'
to 'dateexpiry'

The code in tools/import_borrowers.pl however only checks for value 'now':
127             update_dateexpiry            => $update_dateexpiry ? 1 : 0,


And in Koha/Patrons/Import.pm - we either use the value from the import file,
or today's date:
176         my $expiration_start_date = $update_dateexpiry_from_today ?
dt_from_string : $borrower{dateenrolled};

We should either implement or remove this option

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list