From: Mike Taylor Date: Thu, 22 May 2014 13:27:34 +0000 (+0100) Subject: Re-enable main "entries" subwidget, and place the Facet in the same X-Git-Tag: 1.0.0~618 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=33ace780f38dcd06a5d32dab0b54dc66e19da05d;p=mkws-moved-to-github.git Re-enable main "entries" subwidget, and place the Facet in the same team as it so that a search gets fired that yields facets. --- 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',