Growers: Grower ID filter is applied when no value is selected #244
Labels
priority
High priority issue
size: small
Simple change
tool: Captures
Relates to the capture data tool (Captures page, formerly Trees)
type: bug
Something isn't working
Present in v1.31.1.
When a user filters the Growers tool without selecting a grower ID (
planterId
in the api), the field is passed to thewhere
clause in the filter query anyway as an empty string:This means that no results are returned.
The text was updated successfully, but these errors were encountered: