KEMBAR78
Out-GridView filtering via criteria in 7.4.0-preview.5 yields incorrect results · Issue #20223 · PowerShell/PowerShell · GitHub
Skip to content

Out-GridView filtering via criteria in 7.4.0-preview.5 yields incorrect results #20223

@sba923

Description

@sba923

Prerequisites

Steps to reproduce

Using the "Add criteria" and filtering that way in 7.4.0-preview.5 yields incorrect results:

@(@{"a" = '=='},@{"b"='<='},@{"c"='>='}) |ogv

image

Here's the correct outcome with 7.3.6:

image

Expected behavior

Objects matching the specified filter should be displayed.

Actual behavior

Filtering removes all objects even those matching the criteria.

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.0-preview.5
PSEdition                      Core
GitCommitId                    7.4.0-preview.5
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Assignees

Labels

In-PRIndicates that a PR is out for the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions