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 | |
/** | |
* Increase the length of "field_one" to 512 characters. | |
*/ | |
function trimis_cordis_update_9001() { | |
// Resize field DB column | |
$database = \Drupal::database(); | |
$database->query("ALTER TABLE node__field_one MODIFY field_one_value VARCHAR(512)"); | |
$database->query("ALTER TABLE node_revision__field_one MODIFY field_one_value VARCHAR(512)"); |
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
... | |
"scripts": { | |
"pre-install-cmd": [ | |
"Composer\\Config::disableProcessTimeout" | |
] | |
}, | |
... |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"Code": "AR", | |
"X": -12.239555323, | |
"Y": 14.7617557769, | |
"Timeseries": 1, | |
"Date": "2021-03-06", | |
"Provider": "CERES", | |
"Parameter": "Aldrin", | |
"Media": "Water", |
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/Base/JsonWriterTrait.php b/src/Base/JsonWriterTrait.php | |
index c4481f0..4116395 100644 | |
--- a/src/Base/JsonWriterTrait.php | |
+++ b/src/Base/JsonWriterTrait.php | |
@@ -35,7 +35,7 @@ trait JsonWriterTrait { | |
File::create([ | |
'uri' => $uri, | |
- 'status' => FileInterface::STATUS_PERMANENT, | |
+ 'status' => defined('FILE_STATUS_PERMANENT') ? FILE_STATUS_PERMANENT : FileInterface::STATUS_PERMANENT, |
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
const data = [ | |
{a: 1, b: 2, c: 3}, | |
{a: 4, b: 5, c: 6}, | |
{a: 1, b: 2, c: 3}, | |
{a: 4, b: 5, c: 6}, | |
]; | |
const dataSetRaw = new Set(); | |
data.map( (item) => ( | |
dataSetRaw.add( |
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
/github subscribe owner/repo commits:all |
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/oe_theme.theme b/oe_theme.theme | |
index 2194d385..28cd20d6 100644 | |
--- a/oe_theme.theme | |
+++ b/oe_theme.theme | |
@@ -1159,7 +1159,7 @@ function _oe_theme_preprocess_search_input_text(array $element): array { | |
// Process element attributes into an ECL input array. | |
$ecl_array = [ | |
'id' => $element['#attributes']['id'], | |
- 'name' => $element['#attributes']['name'], | |
+ 'name' => isset($element['#attributes']['name']) ? $element['#attributes']['name'] : FALSE, |
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
#!/bin/sh | |
curl --insecure -v -X TRACE https://trimis.docker.localdev -H "Cache-Control: no-cache, no-store, must-revalidate" -H "Pragma: no-cache" -H "Expires: 0" |
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/js/facets-views-ajax.js b/js/facets-views-ajax.js | |
index e0e4f2c..7d9f7ea 100644 | |
--- a/js/facets-views-ajax.js | |
+++ b/js/facets-views-ajax.js | |
@@ -39,10 +39,10 @@ | |
// Update view on summary block click. | |
if (updateFacetsSummaryBlock() && (facetId === 'facets_summary_ajax')) { | |
- $('[data-drupal-facets-summary-id=' + facetSettings.facets_summary_id + ']').children('ul').children('li').once().click(function (e) { | |
+ $('[data-drupal-facets-summary-id=' + facetSettings.facets_summary_id + ']').find('a').once('facets_summary_ajax_link').click(function (e) { |
NewerOlder