[Rt-commit] rt branch, 5.0/search-results-initial-callback-more-args, created. rt-5.0.0-22-g60afb5441f
? sunnavy
sunnavy at bestpractical.com
Fri Sep 18 18:35:52 EDT 2020
The branch, 5.0/search-results-initial-callback-more-args has been created
at 60afb5441f58043c97c3569a2d9176b9a6eba5cc (commit)
- Log -----------------------------------------------------------------
commit 60afb5441f58043c97c3569a2d9176b9a6eba5cc
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat Sep 19 06:07:25 2020 +0800
Add more search args to Initial callback to modify them
diff --git a/share/html/Search/Results.html b/share/html/Search/Results.html
index 49921d2aac..222cbbd17d 100644
--- a/share/html/Search/Results.html
+++ b/share/html/Search/Results.html
@@ -113,7 +113,18 @@
</div>
<%INIT>
-$m->callback( ARGSRef => \%ARGS, CallbackName => 'Initial' );
+$m->callback(
+ ARGSRef => \%ARGS,
+ Query => \$Query,
+ Format => \$Format,
+ Rows => \$Rows,
+ OrderBy => \$OrderBy,
+ Order => \$Order,
+ Page => \$Page,
+ HideResults => \$HideResults,
+ ExtraQueryParams => \@ExtraQueryParams,
+ CallbackName => 'Initial',
+);
# Read from user preferences
my $prefs = $session{'CurrentUser'}->UserObj->Preferences("SearchDisplay") || {};
-----------------------------------------------------------------------
More information about the rt-commit
mailing list