Bugzilla – Attachment 15108 Details for
Bug 7507
Audience Subtype limit on Advanced Search does not have all Audiences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7507 - Audience Subtype limit on OPAC Advanced Search does not have all Audiences
Bug-7507---Audience-Subtype-limit-on-OPAC-Advanced.patch (text/plain), 2.43 KB, created by
Jonathan Druart
on 2013-02-06 15:57:34 UTC
(
hide
)
Description:
Bug 7507 - Audience Subtype limit on OPAC Advanced Search does not have all Audiences
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-02-06 15:57:34 UTC
Size:
2.43 KB
patch
obsolete
>From 37e9f2dbdaa03fa4bdf3cc784fd0e187ae8c6466 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 29 Jan 2013 09:55:58 +1100 >Subject: [PATCH] Bug 7507 - Audience Subtype limit on OPAC Advanced Search > does not have all Audiences > >The OPAC audience subtype limit did not have all the audiences defined by the MARC record (and available in the staff client advanced search). It also incorrectly labelled some of the audiences that it did include. > >This patch copies the (correct) audiences from the staff client template to the OPAC template. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >Test plan: > * Search before applying by audience > * Apply patch > * Search by a newly appeared audience > * Search by an audience that was there before > >All tests pass! > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Replace tab with 4 spaces. >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 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 e08fff2..be2a6f7 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >@@ -195,12 +195,16 @@ > <div id="subtypes" class="container"><fieldset> > <legend>Subtype limits</legend><select name="limit" class="subtype"> > <option value="" selected="selected" class="menuheader">Any audience</option> >- <option value="aud:a">Easy</option> >- <option value="aud:c">Juvenile</option> >- <option value="aud:d">Young adult</option> >+ <option value="aud:a">Preschool</option> >+ <option value="aud:b">Primary</option> >+ <option value="aud:c">Pre-adolescent</option> >+ <option value="aud:d">Adolescent</option> > <option value="aud:e">Adult</option> >+ <option value="aud:f">Specialized</option> >+ <option value="aud:g">General</option> >+ <option value="aud:j">Juvenile</option> > </select> >- >+ > <select name="limit" class="subtype"> > <option value="" selected="selected" class="menuheader">Any content</option> > <option value="fic:1">Fiction</option> >-- >1.7.10.4
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 7507
:
10727
|
10728
|
14907
|
15053
| 15108