From: Mike Taylor Date: Thu, 22 May 2014 15:04:57 +0000 (+0100) Subject: Reinstate and configure books widget. X-Git-Tag: 1.0.0~606 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=0f0a68dd075236217c3dd99fbaf84dfe592ac69c;p=mkws-moved-to-github.git Reinstate and configure books widget. --- diff --git a/examples/htdocs/mkws-widget-credo.js b/examples/htdocs/mkws-widget-credo.js index eb7ee7a..ff5a50c 100644 --- 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',