[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-commit
Subject: [Rt-commit] [svn] r1581 - rtir/branches/1.1-TESTING/lib/RT/Action
From: leira () pallas ! eruditorum ! org
Date: 2004-09-29 8:36:36
Message-ID: 20040929083636.7EECB84C054 () pallas ! eruditorum ! org
[Download RAW message or body]
Author: leira
Date: Wed Sep 29 04:36:35 2004
New Revision: 1581
Modified:
rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_ChangeParentOwnership.pm
rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_OpenParent.pm
Log:
Fix direction of MemberOf/HasMember.
Modified: rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_ChangeParentOwnership.pm
==============================================================================
--- rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_ChangeParentOwnership.pm (original)
+++ rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_ChangeParentOwnership.pm Wed Sep 29 04:36:35 2004
@@ -76,7 +76,7 @@
my $self = shift;
# change owner of parent Incident(s)
- my $query = "Queue = 'Incidents' AND MemberOf = " . $self->TicketObj->Id;
+ my $query = "Queue = 'Incidents' AND HasMember = " . $self->TicketObj->Id;
my $parents = new RT::Tickets($self->TransactionObj->CurrentUser);
$parents->FromSQL($query);
Modified: rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_OpenParent.pm
==============================================================================
--- rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_OpenParent.pm (original)
+++ rtir/branches/1.1-TESTING/lib/RT/Action/RTIR_OpenParent.pm Wed Sep 29 04:36:35 2004
@@ -78,7 +78,7 @@
# If the child becomes not-closed, make sure the Incident is re-opened
if ($self->TransactionObj->NewValue ne 'rejected' &&
$self->TransactionObj->NewValue ne 'resolved') {
- my $query = "Queue = 'Incidents' AND MemberOf = " . $self->TicketObj->Id;
+ my $query = "Queue = 'Incidents' AND HasMember = " . $self->TicketObj->Id;
my $parents = new RT::Tickets($self->TransactionObj->CurrentUser);
$parents->FromSQL($query);
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic