[open-ils-commits] r19019 - branches/rel_2_0/Open-ILS/xul/staff_client/server/cat (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Dec 19 21:21:34 EST 2010


Author: dbs
Date: 2010-12-19 21:21:32 -0500 (Sun, 19 Dec 2010)
New Revision: 19019

Modified:
   branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marcedit.js
Log:
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.


Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marcedit.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marcedit.js	2010-12-20 02:21:04 UTC (rev 19018)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/marcedit.js	2010-12-20 02:21:32 UTC (rev 19019)
@@ -2444,7 +2444,8 @@
 
             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') } )
                 );



More information about the open-ils-commits mailing list