Correct subfield format for authority lookup user/berick/authority-validation-sf-format-signoffs
authorMike Rylander <mrylander@gmail.com>
Fri, 19 Apr 2013 20:14:13 +0000 (16:14 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 16 May 2013 14:58:33 +0000 (10:58 -0400)
commit40d86bffcff056df04b1d792fb5d5ecdd068910f
treed1202ba0be90647eb6a5d7031b62ddb40cfd97d6
parentba4b86005d156fd623d7a7c44479078edd22b2e2
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>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/AuthorityControlSet.js
Open-ILS/xul/staff_client/server/cat/marcedit.js