4 Commits
7 changed files with 43 additions and 6 deletions
+15
View File
@@ -25,3 +25,18 @@
# Another common use case is to set Drush's --uri via environment. # Another common use case is to set Drush's --uri via environment.
# DRUSH_OPTIONS_URI=http://example.com # DRUSH_OPTIONS_URI=http://example.com
# Stripe secret key for the "stripe" commerce payment gateway. Kept out of
# config/sync (which ships an empty secret_key) and injected in settings.php
# via getenv('STRIPE_SECRET_KEY'). Use a live key in production, a test key
# (sk_test_...) everywhere else.
# STRIPE_SECRET_KEY=
# Mailjet API key/secret pair, also used as SMTP user/pass for the
# smtp_mailjet transport (Mailjet's own convention). Kept out of config/sync
# (mailjet.settings.yml and symfony_mailer.mailer_transport.smtp_mailjet.yml
# both ship empty values) and injected in settings.php. mailjet.settings'
# APItoken is NOT set here: the mailjet module generates and persists it
# itself from this key/secret on first use.
# MAILJET_API_KEY=
# MAILJET_API_SECRET=
@@ -15,7 +15,7 @@ configuration:
- credit_card - credit_card
collect_billing_information: true collect_billing_information: true
publishable_key: pk_live_51I7RAuBp8BkjanLQp3lsf7QBqO1xhRj8gLEbH4ivBEiZhkGwxgrQNGGizo5yk7HgxkiW3jRY6M4ni8pVfBTt5DGW00nBUevKbl publishable_key: pk_live_51I7RAuBp8BkjanLQp3lsf7QBqO1xhRj8gLEbH4ivBEiZhkGwxgrQNGGizo5yk7HgxkiW3jRY6M4ni8pVfBTt5DGW00nBUevKbl
secret_key: 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 secret_key: ''
enable_credit_card_icons: false enable_credit_card_icons: false
conditions: { } conditions: { }
conditionOperator: AND conditionOperator: AND
+3 -3
View File
@@ -1,12 +1,12 @@
_core: _core:
default_config_hash: xv32isu3I93u2lqD8FkaO6ekhZ62Ti5LvVvypKvf7_0 default_config_hash: xv32isu3I93u2lqD8FkaO6ekhZ62Ti5LvVvypKvf7_0
langcode: en langcode: en
mailjet_username: cec52b4eb2d759f5372dfd194585c388 mailjet_username: ''
mailjet_password: 07aaab76d591f8161158d0df79d280eb mailjet_password: ''
mailjet_mail: false mailjet_mail: false
mailjet_active: true mailjet_active: true
mail_headers_allow_html_mailjet: true mail_headers_allow_html_mailjet: true
mailjet_title: 'Mailjet API module' mailjet_title: 'Mailjet API module'
APItoken: 2CA9212C81DDF1F9C43D0756F7F1B16ACD1B26843D05F9DB39A2A92E0876CE823DF00A0F0C1960D342DD6CE65A5E9515A7FDA867028FC144CBB90F606CA70187 APItoken: ''
mailjet_protocol: ssl mailjet_protocol: ssl
mailjet_por: 465 mailjet_por: 465
@@ -69,6 +69,14 @@ name: database
description: '' description: ''
read_only: false read_only: false
field_settings: field_settings:
changed:
label: Changed
datasource_id: 'entity:node'
property_path: changed
type: date
dependencies:
module:
- node
field_country_name_computed: field_country_name_computed:
label: 'Country Name' label: 'Country Name'
datasource_id: 'entity:node' datasource_id: 'entity:node'
@@ -6,8 +6,8 @@ id: smtp_mailjet
label: 'SMTP mailjet' label: 'SMTP mailjet'
plugin: smtp plugin: smtp
configuration: configuration:
user: cec52b4eb2d759f5372dfd194585c388 user: ''
pass: 07aaab76d591f8161158d0df79d280eb pass: ''
host: in-v3.mailjet.com host: in-v3.mailjet.com
port: 587 port: 587
query: query:
+2
View File
@@ -214,6 +214,8 @@ permissions:
- 'execute workflow_node_given_state_action node' - 'execute workflow_node_given_state_action node'
- 'execute workflow_node_next_state_action node' - 'execute workflow_node_next_state_action node'
- 'manage materio_order_item_type commerce_order_item' - 'manage materio_order_item_type commerce_order_item'
- 'manage materio_product_licence_variatio commerce_product_variation'
- 'manage materio_product_variation_type commerce_product_variation'
- materio_samples_edit_any_sample - materio_samples_edit_any_sample
- materio_samples_edit_materiaux_titles - materio_samples_edit_materiaux_titles
- 'revert all revisions' - 'revert all revisions'
@@ -79,6 +79,10 @@ class Base extends ControllerBase {
// Add sorting. // Add sorting.
$this->phrase_query->sort('search_api_relevance', 'DESC'); $this->phrase_query->sort('search_api_relevance', 'DESC');
// Tiebreaker: among equally relevant matches, show the most recently
// modified first (Solr otherwise falls back to internal doc order, i.e.
// indexation order, which puts the oldest materiaux first).
$this->phrase_query->sort('changed', 'DESC');
// Set one or more tags for the query. // Set one or more tags for the query.
// @see hook_search_api_query_TAG_alter() // @see hook_search_api_query_TAG_alter()
@@ -186,6 +190,10 @@ class Base extends ControllerBase {
// Add sorting. // Add sorting.
$this->and_query->sort('search_api_relevance', 'DESC'); $this->and_query->sort('search_api_relevance', 'DESC');
// Tiebreaker: among equally relevant matches, show the most recently
// modified first (Solr otherwise falls back to internal doc order, i.e.
// indexation order, which puts the oldest materiaux first).
$this->and_query->sort('changed', 'DESC');
// Set one or more tags for the query. // Set one or more tags for the query.
// @see hook_search_api_query_TAG_alter() // @see hook_search_api_query_TAG_alter()
@@ -280,6 +288,10 @@ class Base extends ControllerBase {
// Add sorting. // Add sorting.
$this->or_query->sort('search_api_relevance', 'DESC'); $this->or_query->sort('search_api_relevance', 'DESC');
// Tiebreaker: among equally relevant matches, show the most recently
// modified first (Solr otherwise falls back to internal doc order, i.e.
// indexation order, which puts the oldest materiaux first).
$this->or_query->sort('changed', 'DESC');
// Set one or more tags for the query. // Set one or more tags for the query.
// @see hook_search_api_query_TAG_alter() // @see hook_search_api_query_TAG_alter()