Skip to content

Commit

Permalink
chore: CE-1323-filtering-by-unassigned-causes-a-timeout-in-the-list-v…
Browse files Browse the repository at this point in the history
…iew (#855)

Co-authored-by: afwilcox <[email protected]>
  • Loading branch information
dk-bcps and afwilcox authored Jan 8, 2025
1 parent 351fb30 commit 589b6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/v1/complaint/complaint.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export class ComplaintService {
}

if (officerAssigned && officerAssigned === "Unassigned") {
builder.andWhere("delegate.person_complaint_xref_guid IS NULL");
builder.andWhere("delegate.complaint_identifier IS NULL");
} else if (officerAssigned) {
builder
.andWhere("delegate.person_complaint_xref_code = :Assignee", {
Expand Down

0 comments on commit 589b6ba

Please sign in to comment.