LP1168186 - Add tag 111 and remove subfield 4 from author pool
authorBen Shum <bshum@biblio.org>
Sun, 14 Apr 2013 02:28:53 +0000 (22:28 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 29 May 2013 21:31:49 +0000 (17:31 -0400)
Add meeting/conference main entry (111) to TPAC author pool.

Remove subfield 4 from the author data because the information contained
refers to relator and may not be helpful at this time.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Mark Cooper <markchristophercooper@gmail.com>
Open-ILS/src/templates/opac/parts/misc_util.tt2

index fa29420..a1dbb94 100644 (file)
@@ -7,7 +7,7 @@
         FOR node IN xml.findnodes('//*[@tag="' _ target_field _ '"]');
             raw_vals = [];
             core_val = '';
-            FOR subnode IN node.findnodes('./*[not(contains("w 0 5 6 8 9", @code))]');
+            FOR subnode IN node.findnodes('./*[not(contains("w 0 5 6 8 9", @code))]');
                 raw_vals.push(subnode.textContent());
             END;
             core_val = raw_vals.join(" ");
         graphic_880s = [];
         get_graphic_880s(target_field='100');
         get_graphic_880s(target_field='110');
+        get_graphic_880s(target_field='111');
         args.graphic_authors = graphic_880s;
         args.authors = [];
         FOR author IN args.graphic_authors;