Skip to content

Commit

Permalink
Add null check to match previous query
Browse files Browse the repository at this point in the history
  • Loading branch information
knabar committed Dec 12, 2023
1 parent 6312c4c commit a806cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omeroweb/webclient/controller/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def getFileName(self):
" SELECT 1 FROM {parent_type}AnnotationLink sa_link "
" WHERE sa_link.parent.id in (:ids) "
" AND fa.id = sa_link.child.id "
" AND fa.ns not in (:ns_to_exclude) "
" AND (fa.ns not in (:ns_to_exclude) OR fa.ns IS NULL)"
" {owned_by_me} "
" GROUP BY sa_link.child.id "
" HAVING count(sa_link.id) >= :count "
Expand Down

0 comments on commit a806cc6

Please sign in to comment.