From d490587fb84036165f25600ff3c912a6e29917c4 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 20 Dec 2010 02:21:32 +0000 Subject: [PATCH] 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/branches/rel_2_0@19019 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/marcedit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js index 6c0f11d115..2a21719602 100644 --- a/Open-ILS/xul/staff_client/server/cat/marcedit.js +++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js @@ -2444,7 +2444,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') } ) ); -- 2.11.0