]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1445066 - Clicking "Last search results" sometimes results in an error
authorbyron jones <byron@glob.com.au>
Tue, 13 Mar 2018 14:45:40 +0000 (22:45 +0800)
committerDylan William Hardison <dylan@hardison.net>
Tue, 13 Mar 2018 14:45:40 +0000 (10:45 -0400)
extensions/BugModal/template/en/default/bug_modal/navigate.html.tmpl

index 05476fed457ffe7620a2b23ff24228d315dc526c..06163a841cc7e32b3f8a44ef1350b4f148be5e73 100644 (file)
     [% INCLUDE nav_link text="Next &#10097;" bug_id="" %]
   [% END %]
   [% INCLUDE nav_link text="Last &#10097;&#10097;" bug_id=last_bug_list.last %]
-  <a id="search-nav-reget" href="buglist.cgi?regetlastlist=[% my_search.id FILTER uri %]">Last search results</a>
+  <a id="search-nav-reget" href="buglist.cgi?regetlastlist=[% search.id FILTER uri %]">Last search results</a>
 </div>
 
 [% BLOCK nav_link %]
   [% IF bug_id == "" %]
     <span class="search-nav-disabled">[% text FILTER none %]</span>
   [% ELSE %]
-    <a class="search-nav-link" href="show_bug.cgi?id=[% bug_id FILTER uri %]&amp;list_id=[% my_search.id FILTER uri %]">
+    <a class="search-nav-link" href="show_bug.cgi?id=[% bug_id FILTER uri %]&amp;list_id=[% search.id FILTER uri %]">
       [%~ text FILTER none ~%]
     </a>
   [% END %]