]> git.evergreen-ils.org Git - Evergreen.git/commit
Get consistent about "title : subtitle" in mods_slim
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Jan 2010 19:17:05 +0000 (19:17 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Jan 2010 19:17:05 +0000 (19:17 +0000)
commit5d3d4347c649d3ec7935cfbfb363409809b447b9
tree337a0bf5451d1e76c2fd6536b3fa727b1f5fb645
parent50aa8efaacc5f68a88d911fa5c8e10ae68788fb2
Get consistent about "title : subtitle" in mods_slim

By teaching get_field_value() to prepend " : " to our incoming value
if the element name is "subTitle", we can ensure that records with a
title / subtitle structure have a consistent structure. Academics love
subtitles, so this was pretty glaring at Conifer.

This has a bonus effect of not appending colons after leading articles
(nonSort elements), which was annoying for "Der schutz" and the like.
Academics have a number of non-English / non-French / non-Spanish titles;
the MODS transform honours the non-filing indicator so this is a more
consistent method of generating the appropriate result.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15299 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Utils/ModsParser.pm