https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16307 Bug ID: 16307 Summary: OAI-PMH duplicate tag 520 & 521 when export to OAI_DC Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Web services Assignee: koha-bugs@lists.koha-community.org Reporter: hagud@orex.es QA Contact: testopia@bugs.koha-community.org When harvest from koha using oai_dc it duplicates tags 520 and 521 we have checked in koha 3.14 and 3.22 and it can be fixed if modify some xsl I guess it is a wrong code, but perhaps there is a reason I do not understand sample record: http://oapn.orex.es/cgi-bin/koha/oai.pl?verb=GetRecord&metadataPrefix=oai_dc&identifier=OAPN:12410 It fixes if we add not 520 and 521 <xsl:for-each select="marc:datafield[500<@tag][@tag<=599][not(@tag=506 or @tag=520 or @tag=521 or @tag=530 or @tag=540 or @tag=546)]"> <dc:description> <xsl:value-of select="marc:subfield[@code='a']"/> </dc:description> </xsl:for-each> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.