[Rt-commit] rt branch, 4.0/queue-specific-articles-on-create, created. rt-4.0.2-25-gbe372d2
Kevin Falcone
falcone at bestpractical.com
Fri Aug 26 18:44:51 EDT 2011
The branch, 4.0/queue-specific-articles-on-create has been created
at be372d2b90b8d95af4549fe31fe0cf3908fa6c15 (commit)
- Log -----------------------------------------------------------------
commit be372d2b90b8d95af4549fe31fe0cf3908fa6c15
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Aug 26 18:35:54 2011 -0400
Pass the Queue so that Articles can limit to it
Otherwise you get an ugly error in the logs and Articles refuse to limit
the Classes to the current Queue. This means an article in any class or
a hotlist in any class (given that you can see them) would show up in
the search, since we're not correctly limiting to the Queue.
diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index fb70c2b..e3b6731 100755
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -172,7 +172,7 @@
<td colspan="6">
<&|/l&>Describe the issue below</&>:<br />
% if ( RT->Config->Get('ArticleOnTicketCreate')) {
-<& /Articles/Elements/BeforeMessageBox, %ARGS &>
+<& /Articles/Elements/BeforeMessageBox, %ARGS, QueueObj => $QueueObj &>
% }
% $m->callback( %ARGS, QueueObj => $QueueObj, CallbackName => 'BeforeMessageBox' );
% if (exists $ARGS{Content}) {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list