Skip to content

Commit

Permalink
Covering mixines, pylover#182
Browse files Browse the repository at this point in the history
  • Loading branch information
pylover committed Jun 5, 2019
1 parent 66ac97d commit fda03f9
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions restfulpy/orm/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,6 @@ def _sort_by_key_value(cls, query, column, descending=False):
if descending:
expression = desc(expression)

if settings.db.url.startswith('sqlite'):
return query.order_by(expression)

return query.order_by(
(nullsfirst if descending else nullslast)(expression)
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fda03f9

Please sign in to comment.