From fcd01972e141caa9973fe3ba9f16b162fc84eec2 Mon Sep 17 00:00:00 2001 From: IrinaMalysheva Date: Fri, 2 Aug 2024 11:25:23 +0300 Subject: [PATCH] Bug 69121: cannot unsort by row in PivotTables. Part 3. --- apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js index 1b7db928a4..3cd5a73b50 100644 --- a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js +++ b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js @@ -982,6 +982,7 @@ define([], function () { item && arr.push({value: index, displayValue: item, filter: filter, indexSorting: index}); }); this.setTitle(this.txtTitle + ' (' + fields[0] + ')'); + this.radioNoSort.setValue(sort == null, true); } else if (this.properties.rowFilter && this.properties.colFilter) { this.radioNoSort.setVisible(false); this.setTitle(this.txtTitleValue); @@ -1012,7 +1013,6 @@ define([], function () { this.cmbFieldsDesc.setData(arr); this.cmbFieldsDesc.setValue((idx>=0) ? idx : 0); - this.radioNoSort.setValue(sort == null, true); this.radioDesc.setValue(sort == Asc.c_oAscSortOptions.Descending, true); this.cmbFieldsDesc.setDisabled(sort !== Asc.c_oAscSortOptions.Descending); this.cmbFieldsAsc.setDisabled(sort === Asc.c_oAscSortOptions.Descending);