[Rt-commit] [rtir] 01/01: ensure non-RTIR queues don't show up on 'New ticket in' widget for RTIR pages
Dustin Graves
dustin at bestpractical.com
Wed Feb 10 17:39:27 EST 2016
This is an automated email from the git hooks/post-receive script.
dustin pushed a commit to branch 3.4/fix-new-ticket-general-redirect-loop
in repository rtir.
commit e78e50e528371ffdc1ca8cc5bf297759e63bd899
Author: Dustin Graves <dustin at bestpractical.com>
Date: Wed Feb 10 22:38:15 2016 +0000
ensure non-RTIR queues don't show up on 'New ticket in' widget for RTIR pages
Fixes: I#31526
---
html/RTIR/Elements/SelectRTIRQueue | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/html/RTIR/Elements/SelectRTIRQueue b/html/RTIR/Elements/SelectRTIRQueue
index c2af2ab..c5c1bdb 100644
--- a/html/RTIR/Elements/SelectRTIRQueue
+++ b/html/RTIR/Elements/SelectRTIRQueue
@@ -98,7 +98,11 @@ if ( not defined $session{$cache_key} ) {
if ($Lifecycle) {
$collection->Limit(FIELD => 'Lifecycle', VALUE => $Lifecycle);
} else {
- $collection->UnLimit();
+ $collection->Limit(
+ FIELD => 'Lifecycle',
+ OPERATOR => 'IN',
+ VALUE => [RT::IR->Lifecycles],
+ );
}
$m->callback( CallbackName => 'ModifyCollection', ARGSRef => \%ARGS,
Collection => $collection );
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list