From: Mike Taylor Date: Wed, 29 Oct 2014 10:41:00 +0000 (+0000) Subject: Part of MKWS-319. X-Git-Tag: 1.0.0~75^2~12 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=f89028d68a7b765084d35a3175f9d92d5ffc97cd Part of MKWS-319. Copy Pazpar2's diagnostic message, as well as code, into the diagnostic object made available to the template. (We still have to go through this rigmarole due to PAZ--946). --- diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index ac43dcd..8a51a4d 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -22,6 +22,7 @@ mkws.registerWidgetType('targets', function() { cur.id = data[i].id; cur.hits = data[i].hits; cur.diagnostic = data[i].diagnostic; + cur.message = data[i].message; cur.records = data[i].records; cur.state = data[i].state; cleandata.push(cur);