# HG changeset patch # User Daniel Dourvaris # Date 2016-06-02 12:23:50 # Node ID 330a8ca8b97c06cf1b4d80efa742db0028605b75 # Parent 37d53e52f1ac9d2358d7314d609796970c38d1ab search: update whoosh fallback schema to sort on date too diff --git a/rhodecode/lib/index/whoosh_fallback_schema.py b/rhodecode/lib/index/whoosh_fallback_schema.py --- a/rhodecode/lib/index/whoosh_fallback_schema.py +++ b/rhodecode/lib/index/whoosh_fallback_schema.py @@ -63,7 +63,7 @@ COMMIT_SCHEMA = Schema( repository_id=NUMERIC(unique=True, stored=True), commit_idx=NUMERIC(stored=True, sortable=True), commit_idx_sort=ID(), - date=NUMERIC(stored=True), + date=NUMERIC(stored=True, sortable=True), owner=TEXT(stored=True), author=TEXT(stored=True), message=FieldType(format=Characters(), analyzer=ANALYZER,