Merge pull request #195 from foodcoop-adam/grouporder-many-products

Allow large product lists in member order
This commit is contained in:
wvengen 2013-11-12 08:41:48 -08:00
commit a5a29aff5c

View file

@ -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