Conflicts:
src/templates/facets.handlebars
cur.id = data[i].id;
cur.hits = data[i].hits;
cur.diagnostic = data[i].diagnostic;
+ cur.message = data[i].message;
cur.records = data[i].records;
cur.state = data[i].state;
cleandata.push(cur);
output.found = data.total;
//client indexes pages from 1 but pz2 from 0
- var onsides = 6;
+ var onsides = 5;
var pages = Math.ceil(that.team.totalRecordCount() / that.team.perpage());
var currentPage = that.team.currentPage();
--- /dev/null
+ {{!
+ Facets, a container of all configured facets.
+
+ team - the current team
+ facets - array of facet names
+ }}
-
-<div class="mkws-termlists-title mkwsTermlistsTitle">{{mkws-translate "Facets"}}</div>
+ {{#each facets}}
+ <div class="mkws-facet mkwsFacet mkws-team-{{../team}}" data-mkws-facet="{{this}}"></div>
+ {{/each}}