Skip to content

Commit

Permalink
Merge branch 'search_by_value_only' of https://github.com/khaledk2/om…
Browse files Browse the repository at this point in the history
…ero_search_engine into search_by_value_only
  • Loading branch information
khaledk2 committed Aug 5, 2024
2 parents e68b822 + 5f8a992 commit 9597b3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions omero_search_engine/validation/results_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ def get_results_db(self, operator=None):
return
elif self.type == "complex":
if "_value_only" in self.name:
self.postgres_results = self.get_sql_value_only(self.clauses)
self.postgres_results = self.get_sql_value_only(self.clauses)
elif self.name == "query_image_or":
self.postgres_results = self.get_or_sql(self.clauses)
self.postgres_results = self.get_or_sql(self.clauses)
elif self.name == "query_image_and":
self.postgres_results = self.get_and_sql(self.clauses)
else:
Expand Down Expand Up @@ -1157,7 +1157,7 @@ def validate_search_by_value_conds(vals=None, operator=None):

print(len(postgres_results))
print(len(z))


"""
def set_ownership(resource , name, value, owner_id=None, group_id=None):
Expand Down

0 comments on commit 9597b3e

Please sign in to comment.