[Rt-commit] [rtir] 11/12: Properly set QueryBuilder arguments for Linking searches
Kevin Falcone
falcone at bestpractical.com
Fri Jul 12 10:40:03 EDT 2013
This is an automated email from the git hooks/post-receive script.
falcone pushed a commit to branch 2.9/edit-search-regressions
in repository rtir.
commit 5be32c76650d41d0431b942436065757736e1268
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Jul 11 22:41:56 2013 -0400
Properly set QueryBuilder arguments for Linking searches
This allows editing of a search when choosing which Incidents to link to
(or from). Without this, you never got the correct search setup and it
never passed back properly when running the updated search.
---
html/RTIR/Link/FromIncident/index.html | 8 +++++++-
html/RTIR/Link/ToIncident/index.html | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/html/RTIR/Link/FromIncident/index.html b/html/RTIR/Link/FromIncident/index.html
index 17a5026..f8cef0b 100644
--- a/html/RTIR/Link/FromIncident/index.html
+++ b/html/RTIR/Link/FromIncident/index.html
@@ -46,7 +46,13 @@
%#
%# END BPS TAGGED BLOCK }}}
<& /RTIR/Elements/Header, Title => $title &>
-<& /Elements/Tabs &>
+<& /Elements/Tabs,
+ RefineArgs => { Query => $Query,
+ Format => $Format,
+ RowsPerPage => $Rows,
+ Page => $Page,
+ Order => $Order,
+ OrderBy => $OrderBy } &>
<form action="<% RT->Config->Get('WebPath') %>/RTIR/Incident/Display.html" method="post">
<input type="hidden" name="id" value="<% $id %>" />
diff --git a/html/RTIR/Link/ToIncident/index.html b/html/RTIR/Link/ToIncident/index.html
index 279f0c1..bf07b71 100644
--- a/html/RTIR/Link/ToIncident/index.html
+++ b/html/RTIR/Link/ToIncident/index.html
@@ -50,7 +50,13 @@
Refresh => $session{'tickets_refresh_interval'},
&>
-<& /Elements/Tabs &>
+<& /Elements/Tabs,
+ RefineArgs => { Query => $Query,
+ Format => $Format,
+ RowsPerPage => $Rows,
+ Page => $Page,
+ Order => $Order,
+ OrderBy => $OrderBy } &>
% $m->callback(CallbackName => 'BeforeActionList', ARGSRef => \%ARGS, Ticket => $Ticket);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Rt-commit
mailing list