]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Correct subfield format for authority lookup
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 15:01:53 +0000 (11:01 -0400)
commit02f1c1f1c5c31159bb7c8df147c4ff5588fdca76
treed1202ba0be90647eb6a5d7031b62ddb40cfd97d6
parentd810037052a181640183217756fc1e2f489605e1
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