Skip to content

Commit

Permalink
Ensure we query for distinct Images
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Apr 9, 2021
1 parent 8147768 commit d27f2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omero/gateway/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4222,7 +4222,7 @@ def add_param(param, value):

# Using projection since can't seem to fetch objects AND filter by mapValue
query = """
select obj.id, obj.name from
select distinct obj.id from
%sAnnotationLink ial
join ial.child ann
join ann.mapValue mv
Expand Down

0 comments on commit d27f2f0

Please sign in to comment.