Skip to content

Commit f6f0365

Browse files
committed
1712; Fixed caching issue
1 parent a01a0aa commit f6f0365

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/profiles/custom/os2loop/themes/os2loop_theme/os2loop_theme.theme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ function os2loop_theme_preprocess(&$variables) {
2323
$variables['app'] = [
2424
'request' => \Drupal::request(),
2525
];
26+
// Add the `expanded` query string parameter to the cache context.
27+
$variables['#cache']['contexts'][] = 'url.query_args:expanded';
2628
}
2729

2830
/**

0 commit comments

Comments
 (0)