https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27945
--- Comment #24 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> --- Koha::Patron + my $count = Koha::ArticleRequests->search({ + borrowernumber => $self->borrowernumber, + status => {'!=' => 'CANCELED'}, + created_on => { + '>=' => $date->date.' 00:00:00', + '<=' => $date->date.' 23:59:59' + } + })->count; We should use Koha::Database->new->schema->storage->datetime_parser. Look in the same modules for more examples. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/