projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9781dc1
)
Part of MKWS-319.
author
Mike Taylor
<mike@indexdata.com>
Wed, 29 Oct 2014 10:41:00 +0000
(10:41 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 29 Oct 2014 10:41:00 +0000
(10:41 +0000)
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
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
ac43dcd
..
8a51a4d
100644
(file)
--- 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);