[Rt-commit] rt branch, 4.2/restore-saved-search,	created. rt-4.1.8-373-ged28b79
    Todd Wade 
    todd at bestpractical.com
       
    Wed May 22 10:19:08 EDT 2013
    
    
  
The branch, 4.2/restore-saved-search has been created
        at  ed28b79a7966e0d50693c0a2f6a5d7162e2d329a (commit)
- Log -----------------------------------------------------------------
commit ed28b79a7966e0d50693c0a2f6a5d7162e2d329a
Author: Todd Wade <todd at bestpractical.com>
Date:   Wed May 22 10:16:18 2013 -0400
    include SavedSearchId on sortable results header hrefs
    
    pass SavedSearchId to CollectionAsTable/Header via CollectionList
    
    see [issues#14711]
diff --git a/share/html/Elements/CollectionAsTable/Header b/share/html/Elements/CollectionAsTable/Header
index ffb7441..8fe5952 100644
--- a/share/html/Elements/CollectionAsTable/Header
+++ b/share/html/Elements/CollectionAsTable/Header
@@ -60,7 +60,7 @@ $maxitems     => undef
 
 $AllowSorting  => undef
 $BaseURL       => undef
- at PassArguments => qw(Query Format Rows Page Order OrderBy)
+ at PassArguments => qw(Query Format Rows Page Order OrderBy SavedSearchId)
 </%ARGS>
 <tr class="collection-as-table">
 <%PERL>
diff --git a/share/html/Elements/CollectionList b/share/html/Elements/CollectionList
index 822171c..5073406 100644
--- a/share/html/Elements/CollectionList
+++ b/share/html/Elements/CollectionList
@@ -194,7 +194,7 @@ $Rows          => undef
 $Page          => 1
 $Title         => loc('Ticket Search')
 $BaseURL       => RT->Config->Get('WebPath') . $m->request_comp->path .'?'
- at PassArguments => qw( Query Format Rows Page Order OrderBy)
+ at PassArguments => qw( Query Format Rows Page Order OrderBy SavedSearchId)
 
 $AllowSorting   => 0
 $ShowNavigation => 1
diff --git a/share/html/Search/Results.html b/share/html/Search/Results.html
index 3cf2cb0..eac629d 100644
--- a/share/html/Search/Results.html
+++ b/share/html/Search/Results.html
@@ -56,6 +56,7 @@
     Query => $Query,
     TotalFound => $ticketcount,
     AllowSorting => 1,
+    SavedSearchId => $SavedSearchId,
     OrderBy => $OrderBy,
     Order => $Order,
     Rows => $Rows,
-----------------------------------------------------------------------
    
    
More information about the Rt-commit
mailing list