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

View File

@@ -101,6 +101,11 @@
matcher: function () { return true; }, 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) { updater: function (item) {
console.log(item.value); console.log(item.value);
window.parent.location.href = item.value; window.parent.location.href = item.value;