TPac: Make subjects less confusing
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 26 Jan 2012 21:10:35 +0000 (16:10 -0500)
committerDan Scott <dscott@laurentian.ca>
Sun, 4 Mar 2012 05:19:02 +0000 (00:19 -0500)
The mdash can (and has) been interpreted as being a splitter between fully
unrelated subjects. Change it to a gt to make the relationship obvious.

Credit goes to other MassLNC members for the suggestion.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/record/subjects.tt2

index df06100..a78bdef 100644 (file)
@@ -36,7 +36,7 @@
                 NEXT UNLESS subfield.nodeName == "subfield";
                 code = subfield.getAttribute('code');
                 NEXT UNLESS code.match('[a-z]');
-                IF code.match('[vxyz]'); " &mdash; "; END;
+                IF code.match('[vxyz]'); " &gt; "; END;
                 # at this point, we actually have a partial term to use.
                 single_term = subfield.textContent | html;
                 all_terms.push(subfield.textContent);