Disable sorting - should be sorted by ajax method

This commit is contained in:
Deon George 2020-06-11 16:18:39 +10:00
parent 7ffcdb139a
commit b67df24219
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
1 changed files with 5 additions and 0 deletions

View File

@ -101,6 +101,11 @@
matcher: function () { return true; },
// Disable sorting and just return the items (items should by the ajax method)
sorter: function(items) {
return items;
},
updater: function (item) {
console.log(item.value);
window.parent.location.href = item.value;