Created
May 27, 2011 00:51
-
-
Save richard-srnsw/994440 to your computer and use it in GitHub Desktop.
Proposed changes to MODS import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(mods.m::location.m::shelfLocator.length()) { | |
// change behaviour | |
newItem.archiveLocation = mods.m::location.m::shelfLocator.text().toString(); | |
newItem.archive = mods.m::location.m::physicalLocation.text().toString(); | |
} else { | |
// leave as is | |
newItem.archiveLocation = mods.m::location.m::physicalLocation.text().toString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment