diff --git a/src/components/datatable/HeaderCell.vue b/src/components/datatable/HeaderCell.vue index 4773250ce..d61a3fbd5 100644 --- a/src/components/datatable/HeaderCell.vue +++ b/src/components/datatable/HeaderCell.vue @@ -212,7 +212,7 @@ export default { }, ariaSort() { if (this.columnProp('sortable')) { - const sortIcon = this.getSortableColumnIcon(); + const sortIcon = this.sortableColumnIcon; if (sortIcon[1]['pi-sort-amount-down']) return 'descending'; else if (sortIcon[1]['pi-sort-amount-up-alt']) diff --git a/src/components/datatable/TableHeader.vue b/src/components/datatable/TableHeader.vue index d3d30d268..10038de45 100755 --- a/src/components/datatable/TableHeader.vue +++ b/src/components/datatable/TableHeader.vue @@ -9,18 +9,24 @@ :resizableColumns="resizableColumns" @column-resizestart="$emit('column-resizestart', $event)" :sortMode="sortMode" :sortField="sortField" :sortOrder="sortOrder" :multiSortMeta="multiSortMeta" :allRowsSelected="allRowsSelected" :empty="empty" @checkbox-change="$emit('column-change', $event)" - :filters="filters" :filtersStore="filtersStore" @filter-change="$emit('filter-change', $event)" @filter-apply="$emit('filter-apply')" + :filters="filters" :filterDisplay="filterDisplay" :filtersStore="filtersStore" @filter-change="$emit('filter-change', $event)" @filter-apply="$emit('filter-apply')" @operator-change="$emit('operator-change',$event)" @matchmode-change="$emit('matchmode-change', $event)" @constraint-add="$emit('constraint-add', $event)" @constraint-remove="$emit('constraint-remove', $event)" @apply-click="$emit('apply-click',$event)"/>