Skip to content

Commit

Permalink
Merge pull request #4465 from specify/issue-4464
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfitzsimmons committed Jan 29, 2024
2 parents 34b1dbf + 58f16d4 commit 9a3b542
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,10 @@ export class BusinessRuleManager<SCHEMA extends AnySchema> {
])
);

if (Object.values(partialFilters).includes(undefined))
if (
Object.values(partialFilters).includes(undefined) ||
partialFilters[rule.scopes[0]] === null
)
return { valid: true };

return new this.resource.specifyModel.LazyCollection({
Expand Down

0 comments on commit 9a3b542

Please sign in to comment.