Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDTable loads data in reverse order #4151

Open
pyramidofgreatness opened this issue Dec 16, 2024 · 0 comments
Open

UDTable loads data in reverse order #4151

pyramidofgreatness opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working PowerShell Universal Issue relates to PowerShell Universal. requires triage Issue has not yet been verified by the development team. v5 Version 5 issue.

Comments

@pyramidofgreatness
Copy link

pyramidofgreatness commented Dec 16, 2024

Description of Issue

When loading data to a UD-Table, it is loading in reverse. I do not have any sort options active. If you click on a column 3 times (to sort down, up and then remove any sort options), it corrects the issue.

Adding -DefaultSortOrder does not make any difference. I'm using multi-property sort so using a default sort column will not work in my case, I just want to output the data as it sits in the ordered object.

# Using -descending to reverse the data as a work around for the initial view, but once a sort is applied and removed it ends up in reverse, so not ideal..
$data = (Get-PSUCache -Key TestTable | Sort Tenant, Username -Descending)

New-UDTable -Data $data

Version

5.1.0

Severity

Low

Hosting Method

MSI (Windows Service)

Operating System

Windows

Database

SQLite

Licensed

No

Features

No response

Additional Environment data

No response

Screenshots/Animations

No response

@pyramidofgreatness pyramidofgreatness added bug Something isn't working PowerShell Universal Issue relates to PowerShell Universal. requires triage Issue has not yet been verified by the development team. v5 Version 5 issue. labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PowerShell Universal Issue relates to PowerShell Universal. requires triage Issue has not yet been verified by the development team. v5 Version 5 issue.
Projects
None yet
Development

No branches or pull requests

1 participant