[Koha-bugs] [Bug 33837] Objects->filter_by_last_update: Does not allow time comparison

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 25 14:36:05 CEST 2023


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

--- Comment #8 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Last patch should not do this:

diff --git a/Koha/Notice/Util.pm b/Koha/Notice/Util.pm
index 4e515d4b5db..903550b893e 100644
--- a/Koha/Notice/Util.pm
+++ b/Koha/Notice/Util.pm
@@ -122,7 +122,7 @@ sub _get_domain_count {
             message_transport_type => 'email',
             status => 'sent',
             to_address => { 'LIKE', '%'.$domain },
-        })->filter_by_last_update({ timestamp_column_name => 'updated_on',
from => $start_dt, datetime => 1 })->count;
+        })->filter_by_last_update({ timestamp_column_name => 'updated_on',
from => $start_dt, })->count;
     }
     $limits->{$group}->{count} = $sum;
 }

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


More information about the Koha-bugs mailing list