X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/801a05d2ff33bb8a3c1a46ea0c657825b2787fa7..4f65bba054fa88646e07b7e0138ce5786b1519e7:/src/search/views.py diff --git a/src/search/views.py b/src/search/views.py index 6ff0f7ab6..9e3645858 100644 --- a/src/search/views.py +++ b/src/search/views.py @@ -137,8 +137,7 @@ def search(request): @cache.never_cache def main(request): - if request.EXPERIMENTS['search'].value: - request.EXPERIMENTS['layout'].override(True) + if request.EXPERIMENTS['layout'].value: return search(request) query = request.GET.get('q', '')