[Rt-commit] [rtir] 09/19: Document a method in RT::IR
Jesse Vincent
jesse at bestpractical.com
Wed Mar 25 00:20:54 EDT 2015
This is an automated email from the git hooks/post-receive script.
jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.
commit 326f6f3e29f7aae66afe4dd4ba1a5d4634b350d9
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 24 16:40:09 2015 -0700
Document a method in RT::IR
---
lib/RT/IR.pm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index 215e0dc..c1727a3 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -317,6 +317,13 @@ sub Statuses {
return grep !$seen{$_}++, @initial, @active, @inactive;
}
+=head2 ActiveQuery ARGS
+
+ActiveQuery is a wrapper around Query which automatically limits
+results to tickets in active or initial states.
+
+=cut
+
sub ActiveQuery {
return (shift)->Query( Initial => 1, Active => 1, @_ );
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list