Skip to content

Commit cc29728

Browse files
committed
debug
1 parent 8777710 commit cc29728

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/src/database/repositories/organizationRepository.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,6 +1601,7 @@ class OrganizationRepository {
16011601

16021602
if (lfxMembershipFilter) {
16031603
const filterKey = Object.keys(lfxMembershipFilter)[0]
1604+
options.log.info('filterKey', filterKey)
16041605
if (filterKey === 'ne') {
16051606
lfxMembershipFilterWhereClause = `AND EXISTS (SELECT 1 FROM "lfxMemberships" lm WHERE lm."organizationId" = o.id AND lm."tenantId" = $(tenantId))`
16061607
} else if (filterKey === 'eq') {
@@ -1634,6 +1635,8 @@ class OrganizationRepository {
16341635
tenantId: options.currentTenant.id,
16351636
}
16361637

1638+
options.log.info('params', params)
1639+
16371640
const filterString = RawQueryParser.parseFilters(
16381641
filter,
16391642
OrganizationRepository.QUERY_FILTER_COLUMN_MAP,

0 commit comments

Comments
 (0)