Skip to content

Filter is not working when we pass the ")" in filter text. #202

@NareshKaryam

Description

@NareshKaryam

Describe the bug
When we pass the close parenthesis in filter text, its not working.

we are getting the Sieve.Exceptions.SieveException: 'String cannot be of zero length. (Parameter 'oldValue')'.

Expected behavior
get the proper results.

Screenshots
sieve model filter:
Filters: (loadId)@=*gran)

Desktop (please complete the following information):

  • OS: Operating System
  • Chrome
  • 120.0.6099.71

Additional context
in below code we are getting the issue.
IQueryable processedResults = sieve.Apply(
sieveModel,
results,
applyPagination: false
);

Error:

Errormsg

Payload:
payload

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions