Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Make nohide and sortbydate work again
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Dec 28, 2014
1 parent 8d31e4b commit c633ce4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions synoptic/datamodel.py
Expand Up @@ -334,9 +334,15 @@ def visit_dated_query(self, q):
def visit_no_hide_query(self, q):
self.use_hide_until = False

from sqlalchemy.sql import true
return true()

def visit_sort_by_date(self, q):
self.sort_by_date = True

from sqlalchemy.sql import true
return true()

# }}}


Expand Down

0 comments on commit c633ce4

Please sign in to comment.