From f89028d68a7b765084d35a3175f9d92d5ffc97cd Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 29 Oct 2014 10:41:00 +0000 Subject: [PATCH] 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). --- src/mkws-widget-main.js | 1 + 1 file changed, 1 insertion(+) 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); -- 1.7.10.4