Bugzilla – Attachment 37299 Details for
Bug 6950
Cannot sort the results of a tag search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6950: Hide the resort option when searching for a tag
Bug-6950-Hide-the-resort-option-when-searching-for.patch (text/plain), 2.12 KB, created by
Jonathan Druart
on 2015-03-27 09:49:17 UTC
(
hide
)
Description:
Bug 6950: Hide the resort option when searching for a tag
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-03-27 09:49:17 UTC
Size:
2.12 KB
patch
obsolete
>From 7146db2a3d61151a40b5677344c8c6d893ec1f94 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 27 Mar 2015 10:47:40 +0100 >Subject: [PATCH] Bug 6950: Hide the resort option when searching for a tag > >If you click a link from the Tag Cloud, the results page offers the >usual select menu to resort your results. However, doing so resubmits >the search as a standard keyword search. > >Test plan: >1/ Click on a tag >2/ Confirm that the resort dropdown list does not appear. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index fd2cb9f..4bd8bd4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -131,10 +131,12 @@ > <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a> > </div> > [% END %] >- <div class="sort_by pull-right"> >- <select id="sort_by" class="resort" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select> >- <input type="submit" class="btn btn-small clearfix" id="sortsubmit" value="Go" /> >- </div> >+ [% UNLESS tag %] >+ <div class="sort_by pull-right"> >+ <select id="sort_by" class="resort" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select> >+ <input type="submit" class="btn btn-small clearfix" id="sortsubmit" value="Go" /> >+ </div> >+ [% END %] > </div> <!-- / #toolbar --> > > <div id="selections-toolbar" class="toolbar noprint"> >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6950
:
37284
|
37299
|
37324
|
37327
|
37512
|
37513