Bugzilla – Attachment 87945 Details for
Bug 22154
Subtype search for Format - Braille doesn't look for the right codes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22154: Fix search for Braille from Advanced search page
Bug-22154-Fix-search-for-Braille-from-Advanced-sea.patch (text/plain), 3.06 KB, created by
Katrin Fischer
on 2019-04-14 11:01:38 UTC
(
hide
)
Description:
Bug 22154: Fix search for Braille from Advanced search page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-04-14 11:01:38 UTC
Size:
3.06 KB
patch
obsolete
>From f8b009aa0c10b6c49137b4db52c44523eb9b47a0 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 4 Apr 2019 01:36:47 +0000 >Subject: [PATCH] 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 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index 4fa2c03c49..afadb72d78 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -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> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index bc395d95a4..881d6d2403 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -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> >-- >2.11.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 22154
:
87403
|
87945
|
87946
|
87969