Bug 22154: Fix search for Braille from Advanced search page

When you do an advanced search and choose the Format subtype
Braille, it looks for l-format:fk, but that is not the right
code for Braille.

fk does not exist. It should be fb for Tactile material/Braille
OR tc for Text/Braille

To test:
0) Catalog 2 records, one with 007 tc and another with fb
   Use value builder to verify both are for Braille.
1) In Administration > System preferences, make sure 'Subtypes'
   is checked in either OpacAdvSearchMoreOptions or OpacAdvSearchOptions
2) Go to Advanced search
3) If necessary, click on 'More options'
4) In the 'Subtype limits' section, choose 'Braille' from the 'Format'
   drop-down menu
5) Click on 'Search'
6) Verify both records were found

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 44a39929af)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2019-04-04 01:36:47 +00:00 committed by Martin Renvoize
parent fb73c4a347
commit f53fe14580
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@
<option value="" selected="selected" class="menuheader">Any format</option>
<option value="l-format:ta" >Regular print</option>
<option value="l-format:tb" >Large print</option>
<option value="l-format:fk" >Braille</option>
<option value="l-format:tc or l-format:fb">Braille</option>
<option value="" >-----------</option>
<option value="l-format:sd" >CD audio</option>
<option value="l-format:ss" >Cassette recording</option>

View File

@ -321,7 +321,7 @@
<option value="" selected="selected" class="menuheader">Any format</option>
<option value="l-format:ta">Regular print</option>
<option value="l-format:tb">Large print</option>
<option value="l-format:fk">Braille</option>
<option value="l-format:tc or l-format:fb">Braille</option>
<option value="">-----------</option>
<option value="l-format:sd">CD audio</option>
<option value="l-format:ss">Cassette recording</option>