Skip to content

Commit

Permalink
fix missing query clause
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash committed Jan 24, 2024
1 parent af830d9 commit db66a5c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public interface ListRepository extends CrudRepository<ListEntity, UUID>, Paging
AND (l.isPrivate = false OR l.updatedBy = :currentUserId OR ( l.updatedBy IS NULL AND l.createdBy = :currentUserId))
AND (:isPrivate IS NULL OR l.isPrivate = :isPrivate)
AND (:active IS NULL OR l.isActive = :active)
AND (:includeDeleted IS NULL OR :includeDeleted = true OR l.isDeleted = false)
AND (TO_TIMESTAMP(CAST(:updatedAsOf AS text), 'YYYY-MM-DD HH24:MI:SS.MS') IS NULL OR
(l.createdDate>= TO_TIMESTAMP(CAST(:updatedAsOf AS text), 'YYYY-MM-DD HH24:MI:SS.MS') OR
l.updatedDate>= TO_TIMESTAMP(CAST(:updatedAsOf AS text), 'YYYY-MM-DD HH24:MI:SS.MS')))
Expand Down

0 comments on commit db66a5c

Please sign in to comment.