Display 'subject heading thesaurus' value in Manage Authorities results user/ysuarez/thesaurus_column
authorYamil Suarez <yamil@yamil.com>
Wed, 17 Dec 2014 19:35:41 +0000 (14:35 -0500)
committerYamil Suarez <yamil@yamil.com>
Wed, 17 Dec 2014 19:35:41 +0000 (14:35 -0500)
The 'subject heading thesaurus' basically defines the issuing authority that created the authority record. For example, a value of "a" means that it came from LoC. A value of "n" means that it is a locally created authority. Note that within the authority MARC editor the 'Subject Heading Thesaurus' is stored/displayed in the 'Subj' fixed field.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Open-ILS/web/js/ui/default/cat/authority/list.js

index 4c42b90..b6ef518 100644 (file)
@@ -103,7 +103,9 @@ function displayAuthorities(data) {
             '<div class="authority-control-set">Control Set: <span class="acs-name">' +
             fetch_control_set(auth.thesaurus).name() +
             '</span> <span class="acs-id">(#' +
-            fetch_control_set(auth.thesaurus).id() + ')</span></div></div>',
+            fetch_control_set(auth.thesaurus).id() + ')</span>' +
+            '<span style="margin-left: 15px;" class="">' + 'Thes: ' + auth.thesaurus + '</span></div>' +
+            '</div></div>',
             "authlist-div", "last"
         );