[Rt-commit] rt branch, 4.0/apply-scrips-to-multiple-queues, updated. rt-4.0.4-209-g449e8e6
Ruslan Zakirov
ruz at bestpractical.com
Thu Feb 2 03:30:56 EST 2012
The branch, 4.0/apply-scrips-to-multiple-queues has been updated
via 449e8e6c3e263c80ee36cc27c743042b50c699dc (commit)
via 64117ce9811e848cb6680c667f95b69579aa4eb4 (commit)
from 0f7fb0814e4f31f363bce0fa0012c355ae31ed47 (commit)
Summary of changes:
etc/upgrade/4.1.0/content | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 64117ce9811e848cb6680c667f95b69579aa4eb4
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Thu Feb 2 12:27:39 2012 +0400
load module we need
diff --git a/etc/upgrade/4.1.0/content b/etc/upgrade/4.1.0/content
index 5f55bfd..7622502 100644
--- a/etc/upgrade/4.1.0/content
+++ b/etc/upgrade/4.1.0/content
@@ -2,6 +2,7 @@ use strict; use warnings;
our @Initial = (
sub {
+ require RT::ObjectScrips;
foreach my $stage ('TransactionCreate', 'TransactionBatch') {
my $applications = RT::ObjectScrips->new( RT->SystemUser );
$applications->Limit( FIELD => 'Stage', VALUE => $stage );
commit 449e8e6c3e263c80ee36cc27c743042b50c699dc
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Thu Feb 2 12:28:00 2012 +0400
we need OrderByCols here, not OrderBy
diff --git a/etc/upgrade/4.1.0/content b/etc/upgrade/4.1.0/content
index 7622502..02d1321 100644
--- a/etc/upgrade/4.1.0/content
+++ b/etc/upgrade/4.1.0/content
@@ -10,7 +10,7 @@ our @Initial = (
FIELD1 => 'Scrip',
TABLE2 => 'Scrips', FIELD2 => 'id'
);
- $applications->OrderBy(
+ $applications->OrderByCols(
{ ALIAS => $alias, FIELD => 'Description', ORDER => 'ASC' },
);
my %h; my $top_so = $h{0} = 0;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list