removing needless (and problematic) distinct clause, and fixing order_by syntax
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Nov 2009 16:56:58 +0000 (16:56 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Nov 2009 16:56:58 +0000 (16:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14851 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm

index 22863b3..367fd04 100644 (file)
@@ -244,8 +244,7 @@ sub events_by_target {
             "+atevdef" => { active => 't' },
             "+atev" => { state => 'pending' }
         },
-        order_by => { "+atev" => [ 'run_time', 'add_time' ] },
-        distinct => 1
+        order_by => { "atev" => [ 'run_time', 'add_time' ] }
     };