Correct subfield format for authority lookup
authorMike Rylander <mrylander@gmail.com>
Fri, 19 Apr 2013 20:14:13 +0000 (16:14 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 4 Jun 2013 18:18:34 +0000 (14:18 -0400)
commit2fe0ef167d5018a6d858bfca46d98a7be773df41
tree5fb1f61dd67623d84888ddd008b8800789d699f1
parentc9de0c9670414827c3ef1bb1f2a09d5238f48644
Correct subfield format for authority lookup

The Authority Control Set code expects the format of subfields
that it will be used to build a MARC.Field object to be of the
form: [[code,value],...]  This commit makes that true.

Additionally, dojo.filter over a list of lists can cause the
nested array set to be flattened.  So, instead, we loop directly.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/dojo/openils/AuthorityControlSet.js
Open-ILS/xul/staff_client/server/cat/marcedit.js