Skip to content

Commit

Permalink
Bug 69121: cannot unsort by row in PivotTables. Part 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
IrinaMalysheva committed Aug 2, 2024
1 parent 5b49315 commit fcd0197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit fcd0197

Please sign in to comment.