This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/schema/views_data_export.views.schema.yml b/config/schema/views_data_export.views.schema.yml | |
index 7fee9ea..f9c32a9 100644 | |
--- a/config/schema/views_data_export.views.schema.yml | |
+++ b/config/schema/views_data_export.views.schema.yml | |
@@ -13,6 +13,21 @@ views.display.data_export: | |
filename: | |
type: string | |
label: 'Downloaded filename' | |
+ automatic_download: | |
+ type: boolean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/schema/views_data_export.views.schema.yml b/config/schema/views_data_export.views.schema.yml | |
index 7fee9ea..f9c32a9 100644 | |
--- a/config/schema/views_data_export.views.schema.yml | |
+++ b/config/schema/views_data_export.views.schema.yml | |
@@ -13,6 +13,21 @@ views.display.data_export: | |
filename: | |
type: string | |
label: 'Downloaded filename' | |
+ automatic_download: | |
+ type: boolean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function your_theme_name_preprocess_html(&$variables) { | |
// You can remove this if and leave only it's content if you don't need it | |
// or the contrib module hsts is not enabled on your Drupal. | |
if (\Drupal::moduleHandler()->moduleExists('hsts')) { | |
$content_security_policy = [ | |
'#tag' => 'meta', | |
'#attributes' => [ | |
'http-equiv' => 'Content-Security-Policy', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
# SET UP DEFAULT ENVIORNMENT TO MASTER | |
RewriteRule .* - [E=ENVIRONMENT:master] | |
# SET UP ENVIORNMENT TO DEVELOP IF WE ARE ON localhost OR .dev OR .local | |
RewriteCond %{SERVER_NAME} localhost [OR] | |
RewriteCond %{SERVER_NAME} .dev$ [OR] | |
RewriteCond %{SERVER_NAME} .local$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function scrollToInvalid() { | |
// Height of your nav bar plus a bottom margin | |
var navHeight = $('header.navbar-fixed-top').height() + 20; | |
// Offset of the first input element minus your nav height | |
var invalid_el = $('input:invalid,select:invalid,textarea:invalid').first().offset().top - navHeight; | |
// If the invalid element is already within the window view, return true. If you return false, the validation will stop. | |
if ( invalid_el > (window.pageYOffset - navHeight) && invalid_el < (window.pageYOffset + window.innerHeight - navHeight) ) { | |
return true; | |
} else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.oldChosen = $.fn.chosen; | |
$.fn.chosen = function (options) { | |
var select = $(this), | |
is_creating_chosen = !!options; | |
if (is_creating_chosen && select.css('position') === 'absolute') { | |
// if we are creating a chosen and the select already has the appropriate styles added | |
// we remove those (so that the select hasn't got a crazy width), then create the chosen | |
// then we re-add them later | |
select.removeAttr('style'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/adva_media/adva_media.info.yml b/modules/adva_media/adva_media.info.yml | |
index 198ba8a..eefadf1 100644 | |
--- a/modules/adva_media/adva_media.info.yml | |
+++ b/modules/adva_media/adva_media.info.yml | |
@@ -6,4 +6,4 @@ type: module | |
dependencies: | |
- adva:adva | |
- - drupal:media | |
+ - media_entity:media_entity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Query/OffsetPage.php b/src/Query/OffsetPage.php | |
index 7e1a7a0..9c82050 100644 | |
--- a/src/Query/OffsetPage.php | |
+++ b/src/Query/OffsetPage.php | |
@@ -42,7 +42,7 @@ class OffsetPage { | |
* | |
* @var int | |
*/ | |
- const SIZE_MAX = 50; | |
+ const SIZE_MAX = 300; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#principal{ | |
position: absolute; | |
left: 0; | |
top: 200px; | |
width: 100%; | |
} | |
.principal-inner { | |
width: 800px; | |
margin: 0 auto; |
OlderNewer