Currently the filter only allows filtering by the grower_account_id.
This PR allows filtering by either grower uuid or reference number in the same field and then just check for if it's a uuid before making the api request.
Note: the same update for the Grower page and Capture page are in separate PRs.
Description
Currently the filter only allows filtering by the grower_account_id. This PR allows filtering by either grower uuid or reference number in the same field and then just check for if it's a uuid before making the api request.
Note: the same update for the Grower page and Capture page are in separate PRs.
Issue(s) addressed
Depends on API update
What kind of change(s) does this PR introduce?
Please check if the PR fulfills these requirements