]> git.koha-community.org Git - koha.git/commit
Bug 20097: Use same regex in marc2dcxml and opac-export
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 29 Jan 2018 09:32:28 +0000 (10:32 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Mar 2018 15:23:19 +0000 (12:23 -0300)
commitf24e48577f478bf6d5132cce2a59febf8d36ce6d
tree01aed40ec26f2c390251634db7bd2db56dc86c66
parent6d479dc5e53e3558207c75b73d58bce23328a61d
Bug 20097: Use same regex in marc2dcxml and opac-export

This regex allows: dc, oaidc, srwdc, and rdfdc.

Test plan:
[1] Check https://[yourserver]/cgi-bin/koha/opac-export.pl?bib=[some_biblionumber]&op=export&format=dc
[2] Check https://[yourserver]/cgi-bin/koha/opac-export.pl?bib=[some_biblionumber]&op=export&format=oaidc
[3] Check https://[yourserver]/cgi-bin/koha/opac-export.pl?bib=[some_biblionumber]&op=export&format=nodc. This one should trigger a not-supported message.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Record.pm
opac/opac-export.pl