Skip to content

Commit

Permalink
#238: Update comment for accuracy
Browse files Browse the repository at this point in the history
- 1-many related ordering is now supported as of 0.19.0 of Python ICAT
  • Loading branch information
MRichards99 committed Jul 19, 2021
1 parent 6cd0d8d commit ad3f52d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datagateway_api/common/icat/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ def apply_filter(self, query):
log.info("Adding order filter (for %s)", self.field)
query.setOrder(PythonICATOrderFilter.result_order)
except ValueError as e:
# Typically either invalid attribute(s) or attribute(s) contains 1-many
# relationship
# Typically invalid attribute(s)
raise FilterError(e)

split_fields = self.field.split(".")
Expand Down

0 comments on commit ad3f52d

Please sign in to comment.