Bug 10444 - In advanced search(more), [+] and [-] should behave like links on hover
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 11 Jun 2013 12:54:13 +0000 (09:54 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 14 Jun 2013 15:07:36 +0000 (08:07 -0700)
This patch add href="#" to the [+] and [-] links for adding and removing
search terms. It also defines its style so it doesn't show underlined.

To test:
- Browse your OPAC to "Advanced Search" and then "More options".
- The [+] and [-] don't change the cursor on hover
- Apply the patch, reload and see the cursor changes
- Functionality should remain unchanged

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt

index 84b8489..28c0eb9 100644 (file)
@@ -30,6 +30,10 @@ body {
     color : #C00;
 }
 
+a.ButtonPlus, a.ButtonLess {
+      text-decoration : none;
+}
+
 caption {
        font-size : 140%;
        font-weight : bold;
index 8f763d1..eeed2eb 100644 (file)
 [% IF ( expanded_options ) %]
         <!--   [% IF ( search_box.scan_index ) %]<input type="checkbox" name="scan" id="scan" value="1" /> Scan Indexes[% END %] -->
         [% IF ( !loop.first ) %]
-            <a class="ButtonPlus" name="ButtonPlus" title="Add another field">[+]</a>
-            <a class="ButtonLess" title="Remove field">[-]</a>
+            <a class="ButtonPlus" name="ButtonPlus" title="Add another field" href="#">[+]</a>
+            <a class="ButtonLess" title="Remove field" href="#">[-]</a>
         [% END %]
 [% END %]
         </p>