From 79bcf2a4cb577923c197883d48c5bf1a757944df Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 3 Sep 2008 16:23:48 +0000 Subject: [PATCH 1/1] 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 --- Open-ILS/web/vandelay/vandelay.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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(); -- 2.43.2