[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 19c521d3e8ab775f1c7b8fa70b583477c13e990a

Evergreen Git git at git.evergreen-ils.org
Fri Aug 30 11:38:23 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_3 has been updated
       via  19c521d3e8ab775f1c7b8fa70b583477c13e990a (commit)
      from  fb4f2ee82e747f338bb52ff121c50eea7e406488 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 19c521d3e8ab775f1c7b8fa70b583477c13e990a
Author: Dan Scott <dscott at laurentian.ca>
Date:   Fri Apr 5 13:21:47 2013 -0400

    Fix schema.org mapping for MusicAlbum, add Map
    
    We had set LDR[06] = j to MusicRecording, but that is really meant for
    individual songs. Use MusicAlbum instead, and per
    http://schema.org/MusicAlbum, use a new MusicGroup itemtype with a
    'byArtist' property for the primary artist rather than the generic
    'accountablePerson'.
    
    Also map LDR[06] = e to Map, because that seems like a safe bet.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    
    Conflicts:
    	Open-ILS/src/templates/opac/parts/record/authors.tt2

diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2
index 689d8d1..79ee629 100644
--- a/Open-ILS/src/templates/opac/parts/misc_util.tt2
+++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2
@@ -8,7 +8,8 @@
         args.schema.itemtype = {};
         schema_typemap = {};
         schema_typemap.a = 'http://schema.org/Book';
-        schema_typemap.j = 'http://schema.org/MusicRecording';
+        schema_typemap.e = 'http://schema.org/Map';
+        schema_typemap.j = 'http://schema.org/MusicAlbum';
 
         args.isbns = [];
         FOR isbn IN xml.findnodes('//*[@tag="020"]/*[@code="a"]');

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/parts/misc_util.tt2 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list