Bug 7507 - Audience Subtype limit on OPAC Advanced Search does not have all Audiences
authorDavid Cook <dcook@prosentient.com.au>
Mon, 28 Jan 2013 22:55:58 +0000 (09:55 +1100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 7 Feb 2013 04:56:32 +0000 (23:56 -0500)
commit599a36ceab223c55648ee43748e7f52e48bbc77c
tree21b78a4b29a65ecf7c4177e73e33f8b536bde6cd
parent9939d7b924bd546bce1440e14a8afd218f75058d
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.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt