[Rt-commit] [rtir] 01/01: Rename RefineArgs to SearchArgs
Kevin Falcone
falcone at bestpractical.com
Fri Jul 12 22:55:22 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 41c832fc7b4c76d41797f5698536edb1b16c2056
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Jul 12 18:03:33 2013 -0400
Rename RefineArgs to SearchArgs
We're passing these along to better support searching, and it looks like
this is needed even outside the Refine code.
---
html/Callbacks/RTIR/Elements/Tabs/Privileged | 4 ++--
html/RTIR/Incident/Reply/index.html | 2 +-
html/RTIR/Link/FromIncident/index.html | 2 +-
html/RTIR/Link/ToIncident/index.html | 2 +-
html/RTIR/Merge/index.html | 2 +-
html/RTIR/Search/Elements/RefinePage | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index 5e97005..d46c4bb 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -115,8 +115,8 @@ my $search_arguments = sub {
my %res = ();
my $caller_args = $m->caller_args(1);
my @query_fields = qw(Query Format RowsPerPage Page OrderBy Order);
- if ( $caller_args->{'RefineArgs'} ) {
- @res{ @query_fields } = @{ $caller_args->{'RefineArgs'} }{ @query_fields };
+ if ( $caller_args->{'SearchArgs'} ) {
+ @res{ @query_fields } = @{ $caller_args->{'SearchArgs'} }{ @query_fields };
} else {
@res{ @query_fields } = @{ $args }{ @query_fields };
}
diff --git a/html/RTIR/Incident/Reply/index.html b/html/RTIR/Incident/Reply/index.html
index 04b5dab..46667b9 100644
--- a/html/RTIR/Incident/Reply/index.html
+++ b/html/RTIR/Incident/Reply/index.html
@@ -47,7 +47,7 @@
%# END BPS TAGGED BLOCK }}}
<& /RTIR/Elements/Header, Title => $title, Refresh => $session{'tickets_refresh_interval'} &>
<& /Elements/Tabs,
- RefineArgs => { Query => $Query,
+ SearchArgs => { Query => $Query,
Format => $Format,
RowsPerPage => $Rows,
Page => $Page,
diff --git a/html/RTIR/Link/FromIncident/index.html b/html/RTIR/Link/FromIncident/index.html
index f8cef0b..46e260e 100644
--- a/html/RTIR/Link/FromIncident/index.html
+++ b/html/RTIR/Link/FromIncident/index.html
@@ -47,7 +47,7 @@
%# END BPS TAGGED BLOCK }}}
<& /RTIR/Elements/Header, Title => $title &>
<& /Elements/Tabs,
- RefineArgs => { Query => $Query,
+ SearchArgs => { Query => $Query,
Format => $Format,
RowsPerPage => $Rows,
Page => $Page,
diff --git a/html/RTIR/Link/ToIncident/index.html b/html/RTIR/Link/ToIncident/index.html
index bf07b71..d05a99e 100644
--- a/html/RTIR/Link/ToIncident/index.html
+++ b/html/RTIR/Link/ToIncident/index.html
@@ -51,7 +51,7 @@
&>
<& /Elements/Tabs,
- RefineArgs => { Query => $Query,
+ SearchArgs => { Query => $Query,
Format => $Format,
RowsPerPage => $Rows,
Page => $Page,
diff --git a/html/RTIR/Merge/index.html b/html/RTIR/Merge/index.html
index f80c81f..8312ea7 100644
--- a/html/RTIR/Merge/index.html
+++ b/html/RTIR/Merge/index.html
@@ -46,7 +46,7 @@
%#
%# END BPS TAGGED BLOCK }}}
<& /Elements/Header, Title => $title, Refresh => $session{'tickets_refresh_interval'} &>
-<& /Elements/Tabs, RefineArgs => { %defaults, Query => $Query } &>
+<& /Elements/Tabs, SearchArgs => { %defaults, Query => $Query } &>
% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSRef => \%ARGS, Ticket => $Ticket);
diff --git a/html/RTIR/Search/Elements/RefinePage b/html/RTIR/Search/Elements/RefinePage
index 89f3c81..92ab5fb 100644
--- a/html/RTIR/Search/Elements/RefinePage
+++ b/html/RTIR/Search/Elements/RefinePage
@@ -46,7 +46,7 @@
%#
%# END BPS TAGGED BLOCK }}}
<& /RTIR/Elements/Header, Title => $Title &>
-<& /Elements/Tabs, RefineArgs => $query_state{query} &>
+<& /Elements/Tabs, SearchArgs => $query_state{query} &>
<& BuildQuery,
%query_state,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Rt-commit
mailing list