]> git.koha-community.org Git - koha.git/commit
Bug 8916: Hide Curriculum index in advanced search if marcflavor = unimarc
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Sat, 13 Oct 2012 08:36:37 +0000 (10:36 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 22 Oct 2012 15:23:29 +0000 (17:23 +0200)
commite0cd4f898ffebca7d4280f438224fa5fe5375dd6
tree5e041f1dacd8ad867d9c7275022bf191bd44699f
parentfc78d1c268aa8cd11e7e7f686ebb931ad30d802b
Bug 8916: Hide Curriculum index in advanced search if marcflavor = unimarc

This patch hides curriculum option value in koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc and koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt if marcflavor = UNIMARC

To test
- set marcflavour to UNIMARC, this option should be hidden in the index list in opac and staff interface advanced search
- set marcflavour to MARC21, this option should be visible, as before

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt