From 81021e7b18ebcd7953bce55a53f9ba43f088e4f2 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Tue, 23 Oct 2018 12:00:24 +0300 Subject: [PATCH] Fixed #5546 -Table.reset() shouldn't reset the sortOrder to 1 --- src/app/components/table/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 8137445c7b4..e1950d73bee 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -1322,7 +1322,7 @@ export class Table implements OnInit, AfterContentInit, BlockableUI { public reset() { this._sortField = null; - this._sortOrder = 1; + this._sortOrder = this.defaultSortOrder; this._multiSortMeta = null; this.tableService.onSort(null);