18 Nov
2024
18 Nov
'24
8:54 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36454 --- Comment #16 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Jonathan Druart from comment #14)
A couple of remarks/questions:
1. If we have a Koha::Object's method to calculate the "is expired" status, we should not have a JS counter part (at least in this situation). What if the calculation change?
2. Date.parse($date_to_rfc3339($date(new_date.toString()))); This sounds way too complicated, why is that needed?
3. From Koha::Patron->is_expired:897 return 0 unless $self->dateexpiry; This is not taken into account in the JS code. What happens if dateexpiry is NULL in DB? -- You are receiving this mail because: You are watching all bug changes.