[Koha-bugs] [Bug 4402] Date filter in parcels.tt requires db format dates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 12 09:51:38 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4402

--- Comment #14 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Katrin Fischer from comment #10)
> Hm, the new patch does cause some weird side effects. When I access the
> bookseller parcels page via 'receive shipment' the old shipments/open
> invoices don't show up.
> 
> I think it's the same problem I've run into trying to avoid using C4::Dates,
> Koha::DateUtils date_to_string returns not only the date and it will also
> return "now" if no date is given:
> 
> 2015-01-12T07:13:11 
> 
> And that won't work in the SQL.

The date generated by dt_from_string(undef) is today, we don't want to generate
a date if the date parameters are not set.

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


More information about the Koha-bugs mailing list