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
(from parent 1:
584ad4e
)
Reinstate and configure articles widget.
author
Mike Taylor
<mike@indexdata.com>
Thu, 22 May 2014 14:56:36 +0000
(15:56 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 22 May 2014 14:56:36 +0000
(15:56 +0100)
examples/htdocs/mkws-widget-credo.js
patch
|
blob
|
history
diff --git
a/examples/htdocs/mkws-widget-credo.js
b/examples/htdocs/mkws-widget-credo.js
index
e66559e
..
036f896
100644
(file)
--- a/
examples/htdocs/mkws-widget-credo.js
+++ b/
examples/htdocs/mkws-widget-credo.js
@@
-58,7
+58,7
@@
mkws.registerWidgetType('Credo', function() {
s.push(sectionRow('entries', 'Credo Entries',
this.subwidget('Records', { _team: 'main' })));
s.push(sectionRow('articles', 'Articles',
- 1 || this.subwidget('Records', { /* ### config */ })));
+ this.subwidget('Records', { _team: 'art', targetfilter: 'categories=articles' })));
s.push(sectionRow('books', 'Books',
1 || this.subwidget('Records', { /* ### config */ })));
s.push(sectionRow('news', 'News',