Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/Plugin/views/exposed_form/BetterExposedFilters.php b/src/Plugin/views/exposed_form/BetterExposedFilters.php
- index f4ce19d..ed16519 100644
- --- a/src/Plugin/views/exposed_form/BetterExposedFilters.php
- +++ b/src/Plugin/views/exposed_form/BetterExposedFilters.php
- @@ -623,8 +623,6 @@ Title Desc|Z -> A</pre> Leave the replacement text blank to remove an option alt
- parent::validateOptionsForm($form, $form_state);
- }
- -
- -
- /**
- * @inheritdoc
- */
- @@ -1634,4 +1632,13 @@ Title Desc|Z -> A</pre> Leave the replacement text blank to remove an option alt
- return $url;
- }
- + /**
- + * {@inheritdoc}
- + */
- + public function getCacheContexts() {
- + $contexts = parent::getCacheContexts();
- + if ($this->options['bef']['sort']['advanced']['combine']) $contexts[] = 'url.query_args:sort_bef_combine';
- +
- + return $contexts;
- + }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement