X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=examples%2Fhtdocs%2Fmkws-widget-credo-bs.js;h=d3f363e48de1d69fa7c6ab6c0f5c2f06215b9127;hb=43c3d6b31556e4f1636f126a00e1d6ed26c0778c;hp=5847f16816f17771aa7c5747ea65c1c9ec688238;hpb=4a12b387ac6f6afb93d91c1dfb3deadaf4a9c3bb;p=mkws-moved-to-github.git
diff --git a/examples/htdocs/mkws-widget-credo-bs.js b/examples/htdocs/mkws-widget-credo-bs.js
index 5847f16..d3f363e 100644
--- a/examples/htdocs/mkws-widget-credo-bs.js
+++ b/examples/htdocs/mkws-widget-credo-bs.js
@@ -59,14 +59,14 @@ mkws.registerWidgetType('Credo', function() {
s.push('
');
- s.push(section('entries clearfix col-md-4 col-sm-6', 'Results from all targets',
- this.subwidget('Records', { _team: 'main' })));
+ s.push(section('entries clearfix col-md-4 col-sm-6', 'News',
+ this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' })));
s.push(section('articles clearfix col-md-4 col-sm-6', 'Articles',
this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles' })));
s.push(section('books clearfix col-md-4 col-sm-6', 'Books',
this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' })));
- s.push(section('news col-md-4 col-sm-6', 'News',
- this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' })));
+ s.push(section('news col-md-4 col-sm-6', 'Results from all targets',
+ this.subwidget('Records', { _team: 'main' })));
s.push('
');
this.node.html(s.join(''));