Bugzilla – Attachment 13107 Details for
Bug 8712
We should use WAI-ARIA guidelines to help with accessibility -OMNIBUS bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[DOES NOT APPLY] bug 8712 - pre-selected options for search-field options in advanced search
bug-8712---pre-selected-options-for-search-field-o.patch (text/plain), 2.49 KB, created by
Srikanth Dhondi
on 2012-10-30 03:13:30 UTC
(
hide
)
Description:
[DOES NOT APPLY] bug 8712 - pre-selected options for search-field options in advanced search
Filename:
MIME Type:
Creator:
Srikanth Dhondi
Created:
2012-10-30 03:13:30 UTC
Size:
2.49 KB
patch
obsolete
>From b84ff90aa0e1c48422f5fc7621eb649f9999a77a Mon Sep 17 00:00:00 2001 >From: Srikanth Dhondi <srikanth@catalyst.net.nz> >Date: Tue, 30 Oct 2012 12:50:27 +1300 >Subject: [PATCH] bug 8712 - pre-selected options for search-field options in > advanced search > >This pre-selected implementation of search field options in the advanced search >gives users a better contrast in that it indicates that they can refine search for an >item using three different attributes. In the current advanced search all three search >fields contain "Keyword", which is confusing. For example, our Accessibility Expert >thought that he could search for three different records/items using the three keyword >fields. >--- > .../opac-tmpl/prog/en/modules/opac-advsearch.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >index e51e820..5ce1776 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >@@ -73,7 +73,7 @@ > [% END %] > [% IF ( expanded_options ) %][% left_content %][% END %] > <select name="idx" id="search-field_[% loop.index %]"> >- <option value="kw">Keyword</option> >+ <option value="kw" [% IF loop.index == 0 %] selected="selected" [% END %]>Keyword</option> > <option value="su,wrdl">Subject</option> > [% IF ( expanded_options ) %] > <option value="su,phr"> Subject phrase</option> >@@ -81,14 +81,14 @@ > <option value="su-na"> Subject and narrower terms</option> > <option value="su-rl"> Subject and related terms</option> > [% END %] >- <option value="ti">Title</option> >+ <option value="ti" [% IF loop.index == 1 %] selected="selected" [% END %]>Title</option> > [% IF ( expanded_options ) %] > <option value="ti,phr"> Title phrase</option> > <option value="se,wrdl">Series title</option> > <option value="callnum">Call number</option> > <option value="location">Shelving location</option> > [% END %] >- <option value="au,wrdl">Author</option> >+ <option value="au,wrdl" [% IF loop.index == 2 %] selected="selected" [% END %]>Author</option> > > [% IF ( expanded_options ) %] > <option value="au,phr"> Author phrase</option> >-- >1.7.9.5
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 8712
:
12869
|
12871
|
12891
|
13030
|
13065
|
13088
|
13090
|
13091
|
13092
|
13093
|
13106
| 13107 |
14300
|
18784
|
18785