diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 3e86dfeff..44bf5927d 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -1823,16 +1823,16 @@ export default { if (!this.lazy) { if (data && data.length) { + if (this.hasFilters) { + data = this.filter(data); + } + if (this.sorted) { if(this.sortMode === 'single') data = this.sortSingle(data); else if(this.sortMode === 'multiple') data = this.sortMultiple(data); } - - if (this.hasFilters) { - data = this.filter(data); - } } }