Skip to content

Commit

Permalink
Merge pull request #378 from d-rec/DR-849
Browse files Browse the repository at this point in the history
DR-849 fixed all organization at admin
  • Loading branch information
Aish1990 authored Aug 8, 2024
2 parents 3fb5b08 + 9d9e64e commit e8671bd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/drec-api/src/pods/organization/organization.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,12 @@ export class OrganizationService {
query.andWhere(baseQuery, { organizationName: `%${organizationName}%` });
}
if (organizationType) {
query.andWhere(`organization.organizationType != :organizationType`, {
organizationType: `%${organizationType}%`,
});
query.andWhere(
`organization.organizationType NOT LIKE :organizationType`,
{
organizationType: `%${organizationType}%`,
},
);
}
return query;
}
Expand Down

0 comments on commit e8671bd

Please sign in to comment.