Skip to content

Changing data set sort direction (ascending/descending) does not work #3977

@JWaters02

Description

@JWaters02

Describe the bug

As reported by Rich Szabo on OMP slack: https://openmainframeproject.slack.com/archives/C1BAK03LN/p1765317504453329

This bug only occurs after changing the sort direction of a PDS for the first time to something other than the default sort direction specified.

Cannot change ascending direction to descending order or vice versa. E.g. this is current sort direction :

Image

Try to change to ascending:

Image

But when enter is pressed, sort direction screen still shows descending direction (and when enter is pressed again, sort direction is still descending, so not just a visual bug on quick pick).

Image

Just to check, the sort type does work as expected.

Also changing sort direction on jobs still works. So I think this is a regression from #3798?

To Reproduce

Steps to reproduce the behavior:

  1. Go to PDS sort
  2. Do a sort on a PDS that has already had its sort direction changed
  3. Click on current sort direction
  4. Select the other one
  5. See that when you press enter, the sort direction stays the same

Expected behavior

Should be able to change sort direction on PDS.

Screenshots

Desktop (please complete the following information):

  • OS: Win11
  • Zowe Explorer Version: 3.3.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-mediumNot functioning - next quarter if capacity permitsseverity-mediumBug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Type

No type

Projects

Status

Medium Priority

Relationships

None yet

Development

No branches or pull requests

Issue actions