From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 10 Nov 2009 16:56:58 +0000 (+0000)
Subject: removing needless (and problematic) distinct clause, and fixing order_by syntax
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=95dab7c8e69378dcada5525c3ce4d42296377eb7;p=evergreen%2Fmasslnc.git

removing needless (and problematic) distinct clause, and fixing order_by syntax

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14851 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
index 22863b3635..367fd046c5 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
@@ -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' ] }
     };