[Koha-bugs] [Bug 13813] Remove deprecated module C4::Dates from system

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 30 13:13:29 CET 2015


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

--- Comment #172 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 42292
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42292
Bug 13813: Remove deprecated module C4::Dates from system

Review of attachment 42292:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13813&attachment=42292)
-----------------------------------------------------------------

::: C4/Suggestions.pm
@@ +179,5 @@
>          my $to   = $field . "_to";
>          if ( $suggestion->{$from} || $suggestion->{$to} ) {
>              push @query, qq{ AND suggestions.$field BETWEEN ? AND ? };
>              push @sql_params,
> +              output_pref({ dt => dt_from_string( $suggestion->{$from} ), dateformat => 'iso', dateonly => 1 }) || '0000-00-00';

This is wrong. Please provide a follow-up.
Before this patch the "from" date was 0000-00-00 if not filled, now it's today.

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


More information about the Koha-bugs mailing list