Merge pull request #195 from foodcoop-adam/grouporder-many-products
Allow large product lists in member order
This commit is contained in:
commit
a5a29aff5c
1 changed files with 8 additions and 1 deletions
|
@ -9,7 +9,14 @@
|
||||||
// create List for search-feature (using list.js, http://listjs.com)
|
// create List for search-feature (using list.js, http://listjs.com)
|
||||||
var listjsResetPlugin = ['reset', {highlightClass: 'btn-primary'}];
|
var listjsResetPlugin = ['reset', {highlightClass: 'btn-primary'}];
|
||||||
var listjsDelayPlugin = ['delay', {delayedSearchTime: 500}];
|
var listjsDelayPlugin = ['delay', {delayedSearchTime: 500}];
|
||||||
new List(document.body, { valueNames: ['name'], engine: 'unlist', plugins: [listjsResetPlugin, listjsDelayPlugin] });
|
new List(document.body, {
|
||||||
|
valueNames: ['name'],
|
||||||
|
engine: 'unlist',
|
||||||
|
plugins: [listjsResetPlugin, listjsDelayPlugin],
|
||||||
|
// make large pages work too (as we don't have paging - articles may disappear!)
|
||||||
|
page: 10000,
|
||||||
|
indexAsync: true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
- title t('.title'), false
|
- title t('.title'), false
|
||||||
|
|
Loading…
Reference in a new issue