From 6dea14b12e3629f4bf2a5d20a9aeaeb788ba05b7 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Thu, 9 Feb 2012 16:38:28 +0100 Subject: [PATCH] Fix load of publications at startup --- templates/web/prod/index.html.twig | 28 +++++++++++----------------- www/prod/page0.js | 4 ++++ 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index fcc4b6de1d..49383d3315 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -948,14 +948,18 @@ {% endif %} - {% set bool = 0 %} - {% if user.getPrefs('start_page') == 'QUERY' or user.getPrefs('start_page') == 'LAST_QUERY' %} - {% set bool = 1 %} - {% endif %} -
- {% if bool == 0 %} - {{start_page_content}} +
+
@@ -1310,16 +1314,6 @@