You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
838 B
29 lines
838 B
diff --git a/olivesnews.libraries.yml b/olivesnews.libraries.yml |
|
index 75479c7..701e67f 100755 |
|
--- a/olivesnews.libraries.yml |
|
+++ b/olivesnews.libraries.yml |
|
@@ -73,6 +73,14 @@ nouislider-year-format: |
|
dependencies: |
|
- core/drupal |
|
|
|
+preserve-advanced-search: |
|
+ js: |
|
+ js/preserve-advanced-search.js: {} |
|
+ dependencies: |
|
+ - core/drupal |
|
+ - core/once |
|
+ - core/jquery |
|
+ |
|
book: |
|
version: VERSION |
|
css: |
|
diff --git a/olivesnews.theme b/olivesnews.theme |
|
index e81fa1d..e1ceeaf 100755 |
|
--- a/olivesnews.theme |
|
+++ b/olivesnews.theme |
|
@@ -747,4 +747,5 @@ function _olivesnews_hex_to_hsl(string $hex_string) |
|
function olivesnews_preprocess_page(&$variables) |
|
{ |
|
$variables['#attached']['library'][] = 'olivesnews/nouislider-year-format'; |
|
+ $variables['#attached']['library'][] = 'olivesnews/preserve-advanced-search'; |
|
}
|
|
|