From 1e7663696b09c43379510faff416e94a9b1827ae Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 11 May 2011 12:54:16 -0400 Subject: [PATCH] Function to find authority records matching a MARC field --- Open-ILS/web/js/dojo/openils/AuthorityControlSet.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js b/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js index c89d490366..4fc1d0b9c1 100644 --- a/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js +++ b/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js @@ -204,6 +204,13 @@ if(!dojo._hasResource["openils.AuthorityControlSet"]) { this.controlSetId(old_acs); return auth_list; + }, + + findMatchingAuthorities : function (field) { + return fieldmapper.standardRequest( + [ 'open-ils.search', 'open-ils.search.authority.simple_heading.from_xml.batch.atomic' ], + this.bibToAuthorities(field) + ); } }); -- 2.11.0