From: dbs Date: Sat, 18 Dec 2010 05:12:50 +0000 (+0000) Subject: Display the tag of the displayed authority record in MARC Editor context X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4b33177aa597c6eedd652322d7643cd91b22ac50;p=evergreen%2Ftadl.git Display the tag of the displayed authority record in MARC Editor context We currently display both 1xx and 5xx fields in the authority record, but do not display the tag. This can lead to some confusion when a 5xx field is actually present. Ergo, show the tag to disambiguate the fields in the authority browse selection interface. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19016 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index e07a24099c..e446ffaf56 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -2446,7 +2446,8 @@ function browseAuthority (sf_popup, menu_id, target, sf, limit, page) { dojo.query('datafield[tag^="1"], datafield[tag^="5"]', record).forEach(function(field) { var row = createRow( - {}, + { }, + createLabel( { "value" : dojo.attr(field, 'tag') } ), createLabel( { "value" : dojo.attr(field, 'ind1') } ), createLabel( { "value" : dojo.attr(field, 'ind2') } ) );