Skip to content

Instantly share code, notes, and snippets.

@richard-srnsw
Created May 27, 2011 00:51
Show Gist options
  • Save richard-srnsw/994440 to your computer and use it in GitHub Desktop.
Save richard-srnsw/994440 to your computer and use it in GitHub Desktop.
Proposed changes to MODS import
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