Skip to content

Commit

Permalink
Merge branch 'main' into tech-debt/3448
Browse files Browse the repository at this point in the history
  • Loading branch information
zFernand0 authored Feb 26, 2025
2 parents d3eab0c + cf9146e commit 0b499d2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen
- Fixed an issue seen with outdated profile information in the z/OS tree view data during upload and download of data set and USS files
[#3457](https://github.com/zowe/zowe-explorer-vscode/issues/3457)
- Fixed issue where deleting too many nodes at once would cause the confirmation prompt to be oversized. [#3254](https://github.com/zowe/zowe-explorer-vscode/issues/3254)
- Fixed an issue where selecting items in table views would reset the column sort order. [#3473](https://github.com/zowe/zowe-explorer-vscode/issues/3473)

## `3.1.1`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3868,7 +3868,7 @@ describe("Dataset Actions Unit Tests - function search", () => {
field: "name",
headerName: vscode.l10n.t("Data Set Name"),
filter: true,
sort: "asc",
initialSort: "asc",
} as Table.ColumnOpts,
{
field: "position",
Expand Down Expand Up @@ -4006,7 +4006,7 @@ describe("Dataset Actions Unit Tests - function search", () => {
field: "name",
headerName: vscode.l10n.t("Data Set Name"),
filter: true,
sort: "asc",
initialSort: "asc",
} as Table.ColumnOpts,
{
field: "position",
Expand Down Expand Up @@ -4120,7 +4120,7 @@ describe("Dataset Actions Unit Tests - function search", () => {
field: "name",
headerName: vscode.l10n.t("Data Set Name"),
filter: true,
sort: "asc",
initialSort: "asc",
} as Table.ColumnOpts,
{
field: "position",
Expand Down Expand Up @@ -4260,7 +4260,7 @@ describe("Dataset Actions Unit Tests - function search", () => {
field: "name",
headerName: vscode.l10n.t("Data Set Name"),
filter: true,
sort: "asc",
initialSort: "asc",
} as Table.ColumnOpts,
{
field: "position",
Expand Down
2 changes: 1 addition & 1 deletion packages/zowe-explorer/src/trees/dataset/DatasetActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ export class DatasetActions {
field: "name",
headerName: vscode.l10n.t("Data Set Name"),
filter: true,
sort: "asc",
initialSort: "asc",
} as Table.ColumnOpts,
{
field: "position",
Expand Down
2 changes: 1 addition & 1 deletion packages/zowe-explorer/src/trees/job/JobTableView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class JobTableView {
{
field: "jobname",
headerName: l10n.t("Name"),
sort: "asc",
initialSort: "asc",
} as Table.ColumnOpts,
{
field: "class",
Expand Down
2 changes: 2 additions & 0 deletions packages/zowe-explorer/src/webviews/src/table-view/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export const tableProps = (
ensureDomOrder: true,
rowData: tableData.rows,
columnDefs: tableData.columns?.map((col) => ({
sortable: true,
sortingOrder: ["asc", "desc", null],
...col,
comparator: col.comparator ? new Function(wrapFn(col.comparator))() : undefined,
colSpan: col.colSpan ? new Function(wrapFn(col.colSpan))() : undefined,
Expand Down

0 comments on commit 0b499d2

Please sign in to comment.