From 33ace780f38dcd06a5d32dab0b54dc66e19da05d Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 22 May 2014 14:27:34 +0100 Subject: [PATCH] Re-enable main "entries" subwidget, and place the Facet in the same team as it so that a search gets fired that yields facets. --- examples/htdocs/mkws-widget-credo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/htdocs/mkws-widget-credo.js b/examples/htdocs/mkws-widget-credo.js index b7f8f4f..d0cbfe2 100644 --- a/examples/htdocs/mkws-widget-credo.js +++ b/examples/htdocs/mkws-widget-credo.js @@ -37,13 +37,13 @@ mkws.registerWidgetType('Credo', function() { s.push(section('mindmap', 'Create a Mind Map for ### title', '### Is there a way to make a mind-map?')); s.push(section('topics', 'Related Topics', - this.subwidget('Facet', { facet: 'subject' }))); + this.subwidget('Facet', { _team: 'main', facet: 'subject' }))); s.push(''); s.push(''); s.push(sectionRow('entries', 'Credo Entries', - 1 || this.subwidget('Records', { /* ### config */ }))); + this.subwidget('Records', { _team: 'main' }))); s.push(sectionRow('articles', 'Articles', 1 || this.subwidget('Records', { /* ### config */ }))); s.push(sectionRow('books', 'Books', -- 1.7.10.4