LP1168186 - Add tag 111 and remove subfield 4 from author pool user/bshum/lp1168186
authorBen Shum <bshum@biblio.org>
Sun, 14 Apr 2013 02:28:53 +0000 (22:28 -0400)
committerBen Shum <bshum@biblio.org>
Sun, 14 Apr 2013 02:32:10 +0000 (22:32 -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>
Open-ILS/src/templates/opac/parts/misc_util.tt2

index 9ebdeb4..e68df8b 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;