Skip to content

Commit

Permalink
Merge pull request #78 from acabouet/homepage-search-updates
Browse files Browse the repository at this point in the history
Homepage search updates
  • Loading branch information
acabouet authored Feb 10, 2025
2 parents 100936d + 380a1f0 commit 6242cba
Show file tree
Hide file tree
Showing 24 changed files with 847 additions and 166 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
# Run the sniffer
echo "Running Drupal Coder."
echo
PHPCS=("$BIN/phpcs" "--standard=$STANDARD" "--filter=gitstaged" "--encoding=utf-8" "-p" ".")
PHPCS=("$BIN/phpcs" "--standard=$STANDARD" "--filter=gitstaged" "--ignore=*/src/*" "--encoding=utf-8" "-p" ".")
"${PHPCS[@]}"
VIOLATIONS=$((VIOLATIONS + $?))

Expand Down
4 changes: 2 additions & 2 deletions config/core.entity_view_display.node.goal.card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
- field.field.node.goal.field_plan
- field.field.node.goal.field_sequence
- field.field.node.goal.field_topics
- image.style.1x1_third
- image.style.third_1x1
- node.type.goal
module:
- media
Expand All @@ -28,7 +28,7 @@ content:
label: hidden
settings:
image_link: content
image_style: 1x1_third
image_style: third_1x1
image_loading:
attribute: lazy
third_party_settings: { }
Expand Down
4 changes: 2 additions & 2 deletions config/core.entity_view_display.node.goal.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- field.field.node.goal.field_plan
- field.field.node.goal.field_sequence
- field.field.node.goal.field_topics
- image.style.1x1_third
- image.style.third_1x1
- node.type.goal
module:
- media
Expand Down Expand Up @@ -43,7 +43,7 @@ content:
label: hidden
settings:
image_link: content
image_style: 1x1_third
image_style: third_1x1
image_loading:
attribute: lazy
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
uuid: 28224ac1-e739-4896-876f-87f5e3cd0883
langcode: en
status: true
dependencies: { }
id: search_api__views_graphql__goals__graphql_1
name: 'search_api:views_graphql__goals__graphql_1'
filter_key: null
url_processor: query_string
breadcrumb: { }
13 changes: 13 additions & 0 deletions config/search_api.index.goals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.storage.node.field_administration
- field.storage.node.field_topics
- search_api.server.database_search
module:
Expand All @@ -21,7 +22,17 @@ field_settings:
type: union
fields:
- 'entity:node/body'
- 'entity:node/field_agency'
- 'entity:node/field_goals'
- 'entity:node/title'
field_administration:
label: Administration
datasource_id: 'entity:node'
property_path: field_administration
type: integer
dependencies:
config:
- field.storage.node.field_administration
name:
label: 'Topics » Taxonomy term » Name'
datasource_id: 'entity:node'
Expand All @@ -38,6 +49,7 @@ datasource_settings:
default: false
selected:
- goal
- plan
languages:
default: true
selected: { }
Expand All @@ -55,6 +67,7 @@ processor_settings:
- aggregated_field
language_with_fallback: { }
rendered_item: { }
reverse_entity_references: { }
tokenizer:
weights:
preprocess_index: -6
Expand Down
4 changes: 2 additions & 2 deletions config/simple_oauth.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ access_token_expiration: 300
authorization_code_expiration: 300
refresh_token_expiration: 1209600
token_cron_batch_size: 0
public_key: ../public.key
private_key: ../private.key
public_key: ../keys/public.key
private_key: ../keys/private.key
remember_clients: true
use_implicit: false
disable_openid_connect: false
Loading

0 comments on commit 6242cba

Please sign in to comment.