[open-ils-commits] r18968 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Utils (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 10 12:22:19 EST 2010
Author: miker
Date: 2010-12-10 12:22:15 -0500 (Fri, 10 Dec 2010)
New Revision: 18968
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Utils/ModsParser.pm
Log:
Patch from James Fournie to address https://bugs.launchpad.net/evergreen/+bug/622908 wherein we learn that related item physical description might be used as the main PD of the main item, if the main item lacks such a field in the MARC
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Utils/ModsParser.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Utils/ModsParser.pm 2010-12-10 17:21:54 UTC (rev 18967)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Utils/ModsParser.pm 2010-12-10 17:22:15 UTC (rev 18968)
@@ -26,9 +26,9 @@
my $abstract_xpath = "//mods:mods/mods:abstract";
my $related_xpath = "";
my $online_loc_xpath = "//mods:location/mods:url";
-my $physical_desc = "(//mods:physicalDescription/mods:form|//mods:physicalDescription/mods:extent|".
- "//mods:physicalDescription/mods:reformattingQuality|//mods:physicalDescription/mods:internetMediaType|".
- "//mods:physicalDescription/mods:digitalOrigin)";
+my $physical_desc = "(//mods:mods/mods:physicalDescription/mods:form|//mods:mods/mods:physicalDescription/mods:extent|".
+ "//mods:mods/mods:physicalDescription/mods:reformattingQuality|//mods:mods/mods:physicalDescription/mods:internetMediaType|".
+ "//mods:mods/mods:physicalDescription/mods:digitalOrigin)";
my $toc_xpath = "//mods:tableOfContents";
my $xpathset = {
More information about the open-ils-commits
mailing list