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:
ce2fcb8
)
Reinstate and configure books widget.
author
Mike Taylor
<mike@indexdata.com>
Thu, 22 May 2014 15:04:57 +0000
(16:04 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 22 May 2014 15:04:57 +0000
(16:04 +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
eb7ee7a
..
ff5a50c
100644
(file)
--- a/
examples/htdocs/mkws-widget-credo.js
+++ b/
examples/htdocs/mkws-widget-credo.js
@@
-60,7
+60,7
@@
mkws.registerWidgetType('Credo', function() {
s.push(sectionRow('articles', 'Articles',
this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles' })));
s.push(sectionRow('books', 'Books',
- 1 || this.subwidget('Records', { /* ### config */ })));
+ this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' })));
s.push(sectionRow('news', 'News',
1 || this.subwidget('Records', { /* ### config */ })));
s.push(sectionRow('resources', 'Suggested Resources',