[Rt-commit] rt 06/06: Multiple Order/OrderBy values shall be passed as array references
sunnavy
sunnavy at bestpractical.com
Wed Jul 28 21:25:30 UTC 2021
This is an automated email from the git hooks/post-receive script.
sunnavy pushed a commit to branch 5.0/search-results-header-order-indicator
in repository rt.
commit 28288d32a5f2edfee6c9e0f26a1f7446beddc1a8
Author: sunnavy <sunnavy at bestpractical.com>
AuthorDate: Sat Jun 26 05:58:24 2021 +0800
Multiple Order/OrderBy values shall be passed as array references
This is to fix the case where user passes multiple Order/OrderBy on self
service pages like /SelfService/Open.html.
---
share/html/SelfService/Elements/MyGroupRequests | 4 ++--
share/html/SelfService/Elements/MyRequests | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/share/html/SelfService/Elements/MyGroupRequests b/share/html/SelfService/Elements/MyGroupRequests
index 3eca35716f..3d12c6e1b3 100644
--- a/share/html/SelfService/Elements/MyGroupRequests
+++ b/share/html/SelfService/Elements/MyGroupRequests
@@ -49,8 +49,8 @@
<& /Elements/CollectionList, Title => $title,
Format => $Format,
Query => $Query,
- Order => @Order,
- OrderBy => @OrderBy,
+ Order => \@Order,
+ OrderBy => \@OrderBy,
BaseURL => $BaseURL,
AllowSorting => 1,
Class => 'RT::Tickets',
diff --git a/share/html/SelfService/Elements/MyRequests b/share/html/SelfService/Elements/MyRequests
index 097353dd17..46b014b771 100644
--- a/share/html/SelfService/Elements/MyRequests
+++ b/share/html/SelfService/Elements/MyRequests
@@ -50,8 +50,8 @@
Title => $title,
Format => $Format,
Query => $Query,
- Order => @Order,
- OrderBy => @OrderBy,
+ Order => \@Order,
+ OrderBy => \@OrderBy,
BaseURL => $BaseURL,
AllowSorting => 1,
Class => 'RT::Tickets',
--
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.
More information about the rt-commit
mailing list