]> git.koha-community.org Git - koha.git/commit
Bug 22154: Fix search for Braille from Advanced search page
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 4 Apr 2019 01:36:47 +0000 (01:36 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 May 2019 20:41:47 +0000 (20:41 +0000)
commit9e4ac5634a09011b35e1cedc8f5e832a53e95263
treea6e6d0a8c37dd75290422409697e5586b0a924fa
parent1e8c73b93319132581c16e0a48abc37144e13fee
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 44a39929afc60ddda3182a93197ced098044a12d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f53fe14580549266b098a303c4be389fee505b60)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt