From 4b3bc55042499ca9096c4d1ed4a65ad36cd74868 Mon Sep 17 00:00:00 2001 From: Tomasz Zielinski Date: Thu, 12 Jan 2012 23:45:19 +0100 Subject: Bugfixes to the previous commit --- askbot/conf/__init__.py | 3 +-- askbot/skins/default/templates/main_page/tab_bar.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/askbot/conf/__init__.py b/askbot/conf/__init__.py index 9892a2a4..026a6185 100644 --- a/askbot/conf/__init__.py +++ b/askbot/conf/__init__.py @@ -31,5 +31,4 @@ def should_show_sort_by_relevance(): """True if configuration support sorting questions by search relevance """ - return True - #return ('postgresql_psycopg2' in askbot.get_database_engine_name()) + return ('postgresql_psycopg2' in askbot.get_database_engine_name()) diff --git a/askbot/skins/default/templates/main_page/tab_bar.html b/askbot/skins/default/templates/main_page/tab_bar.html index 80a4b95f..7a51aa94 100644 --- a/askbot/skins/default/templates/main_page/tab_bar.html +++ b/askbot/skins/default/templates/main_page/tab_bar.html @@ -19,7 +19,7 @@ {% set relevance_label = gettext('relevance') %} {% if query %} {{relevance_label}} ▼ -- cgit v1.2.3-1-g7c22