From c169e975ba26adb429dd184550e4c66b8d294872 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 13 Nov 2019 17:08:06 +0100 Subject: [PATCH] fixe docsindex ajax caching when logedin --- .../custom/edlp_corpus/src/Controller/CorpusController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/modules/custom/edlp_corpus/src/Controller/CorpusController.php b/web/modules/custom/edlp_corpus/src/Controller/CorpusController.php index 83c41f5d1..ce099c447 100644 --- a/web/modules/custom/edlp_corpus/src/Controller/CorpusController.php +++ b/web/modules/custom/edlp_corpus/src/Controller/CorpusController.php @@ -262,7 +262,8 @@ class CorpusController extends ControllerBase { 'max-age' => \Drupal\Core\Cache\Cache::PERMANENT, 'tags' => ['edlp-docsindex-cache'], 'contexts' => [ - 'languages:language_content' + 'languages:language_content', + 'user' ] ];