From 1e4d5986fb50ae2806b71b5b1862814342a02c2f Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Thu, 2 Jun 2016 15:23:50 +0300 Subject: [PATCH] search: update whoosh fallback schema to sort on date too --- rhodecode/lib/index/whoosh_fallback_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/lib/index/whoosh_fallback_schema.py b/rhodecode/lib/index/whoosh_fallback_schema.py index 6d77e9e3..797ba7ef 100644 --- 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,