From 95dab7c8e69378dcada5525c3ce4d42296377eb7 Mon Sep 17 00:00:00 2001
From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 10 Nov 2009 16:56:58 +0000
Subject: [PATCH] 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
---
 Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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' ] }
     };
 
 
-- 
2.11.0