Summary: | Hide Curriculum index in advanced search for unimarc marcflavor | ||
---|---|---|---|
Product: | Koha | Reporter: | Mathieu Saby <mathsabypro> |
Component: | Searching | Assignee: | Mathieu Saby <mathsabypro> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P5 - low | CC: | chris, paul.poulain |
Version: | 3.10 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Hide Curriculum index in advanced search if marcflavor = unimarc
Bug 8916: Hide Curriculum index in advanced search if marcflavor = unimarc |
Description
Mathieu Saby
2012-10-13 17:58:21 UTC
Created attachment 12800 [details] [review] Hide Curriculum index in advanced search if marcflavor = unimarc Here is my 1st patch. Hope it works... 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 M. Saby Rennes 2 university Created attachment 12801 [details] [review] 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> QA comment * tiny patch, template only, no side-effect risk * passes koha-qa.pl * add a string... in the follow-up adding you as a contributor * just a comment = IF (x!=y) can also be written UNLESS (x=y), and we usually uses that in Koha. But it's not enforced by a coding guideline, and I don't think we should add this rule. passed QA Patch pushed to master, Welcome to the contributor's list Mathieu, you're 193th ! Thanks Paul! I was looking for an idea for a tattoo. Maybe a big "193th" in the back... Mathieu Released in 3.10.0 |