Skip to content

Commit 38decc0

Browse files
committed
Add a change note to the documentation of Query.setOrder()
1 parent 60024f9 commit 38decc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/icat/query.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,10 @@ def setOrder(self, order):
418418
than raising a :exc:`ValueError` in this case.
419419
.. versionchanged:: 0.20.0
420420
allow a JPQL function in the attribute.
421+
.. versionchanged:: 2.0.0
422+
allow the same attribute to appear more than once in the
423+
resulting ORDER BY clause, which actually may make sense
424+
in combination with a JPQL function.
421425
"""
422426
self._subst = None
423427
self.order = []

0 commit comments

Comments
 (0)