<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='f'][substring(text(),2,1)='c']"> braille </xsl:if> <xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='f'][substring(text(),2,1)='b']"> combination </xsl:if> But MARC21 format says: 00 - Category of material f - Tactile material 01 - Specific material designation b - Braille c - Combination
Created attachment 31313 [details] [review] Bug 11517: Braille and combination swapped in XSLT result lists http://www.loc.gov/marc/bibliographic/bd007f.html - Catalog a record: * 007 - choose 'Tactile material' * Pos. 1 - choose b = Braille or C = combination * Reindex! * Verify the result list shows the format correctly.
Created attachment 32868 [details] [review] [SIGNED-OFF] Bug 11517: Braille and combination swapped in XSLT result lists http://www.loc.gov/marc/bibliographic/bd007f.html - Catalog a record: * 007 - choose 'Tactile material' * Pos. 1 - choose b = Braille or C = combination * Reindex! * Verify the result list shows the format correctly. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Problem exist, fixed with this patch. No koha-qa errors
Created attachment 32988 [details] [review] Bug 11517: Braille and combination swapped in XSLT result lists http://www.loc.gov/marc/bibliographic/bd007f.html - Catalog a record: * 007 - choose 'Tactile material' * Pos. 1 - choose b = Braille or C = combination * Reindex! * Verify the result list shows the format correctly. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Problem exist, fixed with this patch. No koha-qa errors Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Patch pushed to master. Thanks Katrin!