From 1a5db4a6515f94354cf00eadf3865cce378a25c5 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 10 Nov 2009 16:58:22 +0000 Subject: [PATCH] backporting 14851: removing needless (and problematic) distinct clause, and fixing order_by syntax git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@14853 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 bdf9eec794..4b6d097dc0 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