Skip to content

Commit

Permalink
Add a change note to the documentation of Query.setOrder()
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Aug 29, 2024
1 parent 60024f9 commit 38decc0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/icat/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,10 @@ def setOrder(self, order):
than raising a :exc:`ValueError` in this case.
.. versionchanged:: 0.20.0
allow a JPQL function in the attribute.
.. versionchanged:: 2.0.0
allow the same attribute to appear more than once in the
resulting ORDER BY clause, which actually may make sense
in combination with a JPQL function.
"""
self._subst = None
self.order = []
Expand Down

0 comments on commit 38decc0

Please sign in to comment.