From: erickson Date: Wed, 3 Sep 2008 16:23:48 +0000 (+0000) Subject: for now, show the matched attr value and number of matches. will link to a page of... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=79bcf2a4cb577923c197883d48c5bf1a757944df;p=Evergreen.git for now, show the matched attr value and number of matches. will link to a page of matched bibs git-svn-id: svn://svn.open-ils.org/ILS/trunk@10522 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/vandelay/vandelay.js b/Open-ILS/web/vandelay/vandelay.js index e57beff35f..95f40090e0 100644 --- a/Open-ILS/web/vandelay/vandelay.js +++ b/Open-ILS/web/vandelay/vandelay.js @@ -219,6 +219,10 @@ function retrieveQueuedRecords(type, queueId, onload) { ); } +function vlLoadMatchUI(recId, attrCode) { + alert(recId + ' : ' + attrCode); +} + /** * Given a record, an attribute definition code, and a matching record attribute, @@ -234,13 +238,10 @@ function buildAttrColumnUI(rec, attrCode, attr) { } if(matches.length > 0) { // found some matches - var str = '
'; - for(var k = 0; k < matches.length; k++) { - var match = matches[k]; - str += '
' + match.eg_record()+'
'; - } - str += '
'; - return str; + return '
' + + ''+ + attr.attr_value() + ' ('+matches.length+')
'; } return attr.attr_value();