Fix LP1118245: Name Subject facet ordering change
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Mon, 24 Jun 2013 16:59:58 +0000 (19:59 +0300)
committerDan Wells <dbw2@calvin.edu>
Thu, 10 Oct 2013 21:11:05 +0000 (17:11 -0400)
Where Name Subject facet shows subfields in order "cad" and Personal
Author shows subfields in order "acd".  This change makes the Name
Subject show the subfields in the same order as in record view and the
Personal Author facet.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
NOTE: We are purposely ignoring similar changes to MODS33, pending
a discussion of how best to handle EG specific MODS changes overall.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/953.data.MODS32-xsl.sql
Open-ILS/xsl/MARC21slim2MODS32.xsl

index 64da844..f615039 100644 (file)
@@ -2773,7 +2773,6 @@ Added Log Comment
                        <xsl:call-template name="subjectAuthority"></xsl:call-template>
                        <name type="personal">
                                <xsl:call-template name="uri" />
-                               <xsl:call-template name="termsOfAddress"></xsl:call-template>
                                <namePart>
                                        <xsl:call-template name="chopPunctuation">
                                                <xsl:with-param name="chopString">
@@ -2783,6 +2782,7 @@ Added Log Comment
                                                </xsl:with-param>
                                        </xsl:call-template>
                                </namePart>
+                               <xsl:call-template name="termsOfAddress"></xsl:call-template>
                                <xsl:call-template name="nameDate"></xsl:call-template>
                                <xsl:call-template name="affiliation"></xsl:call-template>
                                <xsl:call-template name="role"></xsl:call-template>
index 303c378..3302213 100644 (file)
@@ -2608,7 +2608,6 @@ Added Log Comment
                <subject>
                        <xsl:call-template name="subjectAuthority"></xsl:call-template>
                        <name type="personal">
-                               <xsl:call-template name="termsOfAddress"></xsl:call-template>
                                <namePart>
                                        <xsl:call-template name="chopPunctuation">
                                                <xsl:with-param name="chopString">
@@ -2618,6 +2617,7 @@ Added Log Comment
                                                </xsl:with-param>
                                        </xsl:call-template>
                                </namePart>
+                               <xsl:call-template name="termsOfAddress"></xsl:call-template>
                                <xsl:call-template name="nameDate"></xsl:call-template>
                                <xsl:call-template name="affiliation"></xsl:call-template>
                                <xsl:call-template name="role"></xsl:call-template>