Skip to content

Commit

Permalink
Merge pull request #585 from City-of-Helsinki/UHF-8838_TPR_views_config
Browse files Browse the repository at this point in the history
UHF-8838: TPR views config change
  • Loading branch information
xkhaven authored Sep 22, 2023
2 parents fa485c4 + 7d87429 commit 1b07d5f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,12 @@ display:
position: 1
display_options:
display_extenders: { }
pager:
type: none
options:
offset: 0
defaults:
pager: false
cache_metadata:
max-age: -1
contexts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,26 +74,9 @@ display:
hide_alter_empty: true
view_mode: teaser
pager:
type: full
type: none
options:
offset: 0
items_per_page: 4
total_pages: null
id: 0
tags:
next: Next
previous: Previous
first: First
last: Last
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
quantity: 9
exposed_form:
type: basic
options:
Expand Down
9 changes: 9 additions & 0 deletions modules/helfi_tpr_config/helfi_tpr_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,12 @@ function helfi_tpr_config_update_9043() : void {
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_tpr_config');
}

/**
* UHF-8838 Update services list views.
*/
function helfi_tpr_config_update_9044(): void {
// Re-import 'helfi_tpr_config' configuration.
\Drupal::service('helfi_platform_config.config_update_helper')
->update('helfi_tpr_config');
}

0 comments on commit 1b07d5f

Please sign in to comment.