From e9a5a416f2dfcc5a5ee60a979c9b0ee2fc69119c Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 9 Jun 2014 15:36:05 +0100 Subject: [PATCH] Restrict News/Articles/Books panes to 10 entries each. --- examples/htdocs/mkws-widget-credo-bs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/htdocs/mkws-widget-credo-bs.js b/examples/htdocs/mkws-widget-credo-bs.js index d3f363e..6f89760 100644 --- a/examples/htdocs/mkws-widget-credo-bs.js +++ b/examples/htdocs/mkws-widget-credo-bs.js @@ -60,11 +60,11 @@ mkws.registerWidgetType('Credo', function() { s.push('
'); s.push(section('entries clearfix col-md-4 col-sm-6', 'News', - this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news' }))); + this.subwidget('Records', { _team: 'news', targetfilter: 'categories=news', perpage: 10 }))); s.push(section('articles clearfix col-md-4 col-sm-6', 'Articles', - this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles' }))); + this.subwidget('Records', { _team: 'articles', targetfilter: 'categories=articles', perpage: 10 }))); s.push(section('books clearfix col-md-4 col-sm-6', 'Books', - this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books' }))); + this.subwidget('Records', { _team: 'books', targetfilter: 'categories=books', perpage: 10 }))); s.push(section('news col-md-4 col-sm-6', 'Results from all targets', this.subwidget('Records', { _team: 'main' }))); s.push('
'); -- 1.7.10.4