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

--- Comment #16 from Jonathan Druart <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to