[Rt-commit] rt branch, 4.4/asset-sql-foundation, updated. rt-4.4.0-256-g32755f0

Shawn Moore shawn at bestpractical.com
Wed Jun 15 16:12:53 EDT 2016


The branch, 4.4/asset-sql-foundation has been updated
       via  32755f0f840ee7814b8c614b6892596bb053517b (commit)
      from  9bab0d5098fdae5831badcf6fa5650edf6c041b6 (commit)

Summary of changes:
 share/html/Elements/ShowSearch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 32755f0f840ee7814b8c614b6892596bb053517b
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Wed Jun 15 20:12:39 2016 +0000

    Avoid undef warning for legacy ticket searches

diff --git a/share/html/Elements/ShowSearch b/share/html/Elements/ShowSearch
index 53ad702..daa4523 100644
--- a/share/html/Elements/ShowSearch
+++ b/share/html/Elements/ShowSearch
@@ -52,7 +52,7 @@
     titleright => $customize ? loc('Edit') : '',
     titleright_href => $customize,
     hideable => $hideable &>
-<& $query_display_component, hideable => $hideable, %$ProcessedSearchArg, ShowNavigation => 0, Class => 'RT::Tickets', HasResults => $HasResults, PreferOrderBy => 1 &>
+<& $query_display_component, hideable => $hideable, %$ProcessedSearchArg, ShowNavigation => 0, Class => $SearchArg && ($SearchArg->{SearchType}||'') eq 'Asset' ? 'RT::Assets' : 'RT::Tickets', HasResults => $HasResults, PreferOrderBy => 1 &>
 </&>
 <%init>
 my $search;

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


More information about the rt-commit mailing list