Skip to content

Commit

Permalink
1712; Fixed caching issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rimi-itk committed Jul 5, 2024
1 parent a01a0aa commit f6f0365
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ function os2loop_theme_preprocess(&$variables) {
$variables['app'] = [
'request' => \Drupal::request(),
];
// Add the `expanded` query string parameter to the cache context.
$variables['#cache']['contexts'][] = 'url.query_args:expanded';
}

/**
Expand Down

0 comments on commit f6f0365

Please sign in to comment.