[Rt-commit] rt branch, 4.2/bug-fix-scrips-pagination, created. rt-4.2.15beta1-2-g2caa454be

Maureen Mirville maureen at bestpractical.com
Fri May 25 16:56:22 EDT 2018


The branch, 4.2/bug-fix-scrips-pagination has been created
        at  2caa454bef5670636aaa5af3d2ed55665d1df6a9 (commit)

- Log -----------------------------------------------------------------
commit 2caa454bef5670636aaa5af3d2ed55665d1df6a9
Author: Maureen E. Mirville <maureen at bestpractical.com>
Date:   Fri May 25 16:00:33 2018 -0400

    Fix bug on /Admin/Scrips pagination
    
    When a user sets the sort order on the Scrips page, clicking on
    the next page of scrips would reset the sort order to its default.
    This fix allows the sort order to persist from one page to the
    next.
    
    Fixes: I#32958

diff --git a/share/html/Admin/Scrips/index.html b/share/html/Admin/Scrips/index.html
index e17dcf918..5a42a5898 100644
--- a/share/html/Admin/Scrips/index.html
+++ b/share/html/Admin/Scrips/index.html
@@ -64,9 +64,11 @@
     Collection    => $scrips,
     Format        => $Format,
     AllowSorting  => 1,
-    PassArguments => [qw(
-       FindDisabledScrips
-    )], 
+    PassArguments => [(
+       'FindDisabledScrips',
+       'Page Order',
+       'OrderBy',
+    )],
 &>
 
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list