actu filters ok
This commit is contained in:
parent
90836be9db
commit
c9aaad60d1
@ -41,6 +41,7 @@
|
||||
"drupal/verf": "^2.1",
|
||||
"drupal/views_autocomplete_filters": "^2.0",
|
||||
"drupal/views_block_area": "^1.0@beta",
|
||||
"drupal/views_year_filter": "^2.1",
|
||||
"drupal/viewsreference": "^2.0@beta",
|
||||
"drupal/yaml_editor": "^1.2",
|
||||
"drush/drush": "^12.4",
|
||||
|
50
composer.lock
generated
50
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "1bbd67872d9de1d8d9dfb0ad3321a350",
|
||||
"content-hash": "ad1e0913a8c7f00a9b7ed7a3edfda684",
|
||||
"packages": [
|
||||
{
|
||||
"name": "asm89/stack-cors",
|
||||
@ -7939,6 +7939,54 @@
|
||||
"docs": "https://www.drupal.org/docs/8/modules/views-bulk-operations-vbo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "drupal/views_year_filter",
|
||||
"version": "2.1.6",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://git.drupalcode.org/project/views_year_filter.git",
|
||||
"reference": "2.1.6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://ftp.drupal.org/files/projects/views_year_filter-2.1.6.zip",
|
||||
"reference": "2.1.6",
|
||||
"shasum": "641ab95b58ecff6c07cabcae5d108277aa336a30"
|
||||
},
|
||||
"require": {
|
||||
"drupal/core": "^10 || ^11"
|
||||
},
|
||||
"type": "drupal-module",
|
||||
"extra": {
|
||||
"drupal": {
|
||||
"version": "2.1.6",
|
||||
"datestamp": "1740230890",
|
||||
"security-coverage": {
|
||||
"status": "covered",
|
||||
"message": "Covered by Drupal's security advisory policy"
|
||||
}
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||
"license": [
|
||||
"GPL-2.0-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "abjih",
|
||||
"homepage": "https://www.drupal.org/user/3519087"
|
||||
},
|
||||
{
|
||||
"name": "berramou",
|
||||
"homepage": "https://www.drupal.org/user/3535998"
|
||||
}
|
||||
],
|
||||
"description": "Add Year filter to views.",
|
||||
"homepage": "https://www.drupal.org/project/views_year_filter",
|
||||
"support": {
|
||||
"source": "https://git.drupalcode.org/project/views_year_filter"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "drupal/viewsreference",
|
||||
"version": "2.0.0-beta10",
|
||||
|
@ -125,6 +125,7 @@ module:
|
||||
views_bulk_edit: 0
|
||||
views_bulk_operations: 0
|
||||
views_ui: 0
|
||||
views_year_filter: 0
|
||||
viewsreference: 0
|
||||
yaml_editor: 0
|
||||
extlink: 1
|
||||
|
@ -18,6 +18,7 @@ dependencies:
|
||||
- taxonomy
|
||||
- text
|
||||
- user
|
||||
- verf
|
||||
- views_block_area
|
||||
id: actus
|
||||
label: Actus
|
||||
@ -670,6 +671,7 @@ display:
|
||||
field_identifier: ''
|
||||
exposed: false
|
||||
granularity: second
|
||||
arguments: { }
|
||||
filters:
|
||||
status:
|
||||
id: status
|
||||
@ -691,6 +693,7 @@ display:
|
||||
plugin_id: bundle
|
||||
value:
|
||||
actualite: actualite
|
||||
group: 1
|
||||
langcode:
|
||||
id: langcode
|
||||
table: node_field_data
|
||||
@ -771,6 +774,217 @@ display:
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
field_type_d_actualite_target_id:
|
||||
id: field_type_d_actualite_target_id
|
||||
table: node__field_type_d_actualite
|
||||
field: field_type_d_actualite_target_id
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: taxonomy_index_tid
|
||||
operator: or
|
||||
value: { }
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: field_type_d_actualite_target_id_op
|
||||
label: 'par type'
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: field_type_d_actualite_target_id_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: field_type_d_actualite_target_id
|
||||
required: false
|
||||
remember: false
|
||||
multiple: true
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
admin: '0'
|
||||
root: '0'
|
||||
editeur: '0'
|
||||
reduce: false
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
reduce_duplicates: false
|
||||
vid: type_d_actualite
|
||||
type: select
|
||||
hierarchy: false
|
||||
limit: true
|
||||
error_message: true
|
||||
save_lineage: false
|
||||
force_deepest: false
|
||||
parent: null
|
||||
level_labels: ''
|
||||
hierarchy_depth: 0
|
||||
required_depth: 0
|
||||
none_label: '- Please select -'
|
||||
field_date_value:
|
||||
id: field_date_value
|
||||
table: node__field_date
|
||||
field: field_date_value
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: datetime
|
||||
operator: '='
|
||||
value:
|
||||
min: ''
|
||||
max: ''
|
||||
value: ''
|
||||
type: date_year
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: field_date_value_op
|
||||
label: 'Date (field_date)'
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: field_date_value_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: field_date_value
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
admin: '0'
|
||||
root: '0'
|
||||
editeur: '0'
|
||||
min_placeholder: ''
|
||||
max_placeholder: ''
|
||||
placeholder: ''
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
field_site_target_id_verf:
|
||||
id: field_site_target_id_verf
|
||||
table: node__field_site
|
||||
field: field_site_target_id_verf
|
||||
relationship: field_site
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: verf
|
||||
operator: in
|
||||
value: { }
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: field_site_target_id_verf_op
|
||||
label: 'par site(s)'
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: field_site_target_id_verf_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: field_site_target_id_verf
|
||||
required: false
|
||||
remember: false
|
||||
multiple: true
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
admin: '0'
|
||||
root: '0'
|
||||
editeur: '0'
|
||||
reduce: 0
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
verf_target_bundles:
|
||||
site: site
|
||||
actualite: '0'
|
||||
partenaire: '0'
|
||||
ressource: '0'
|
||||
static: '0'
|
||||
show_unpublished: 0
|
||||
combine:
|
||||
id: combine
|
||||
table: views
|
||||
field: combine
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: combine
|
||||
operator: contains
|
||||
value: ''
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: combine_op
|
||||
label: recherche
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: combine_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: combine
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
admin: '0'
|
||||
root: '0'
|
||||
editeur: '0'
|
||||
placeholder: ''
|
||||
autocomplete_filter: 0
|
||||
autocomplete_min_chars: '0'
|
||||
autocomplete_items: '10'
|
||||
autocomplete_field: ''
|
||||
autocomplete_raw_suggestion: 1
|
||||
autocomplete_raw_dropdown: 1
|
||||
autocomplete_dependent: 0
|
||||
autocomplete_contextual: 0
|
||||
autocomplete_autosubmit: 0
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
fields:
|
||||
title: title
|
||||
title_1: title_1
|
||||
body: body
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
@ -778,9 +992,11 @@ display:
|
||||
defaults:
|
||||
title: false
|
||||
sorts: false
|
||||
arguments: false
|
||||
filters: false
|
||||
filter_groups: false
|
||||
display_description: ''
|
||||
exposed_block: true
|
||||
display_extenders:
|
||||
matomo:
|
||||
enabled: false
|
||||
@ -799,12 +1015,15 @@ display:
|
||||
contexts:
|
||||
- 'languages:language_content'
|
||||
- 'languages:language_interface'
|
||||
- url
|
||||
- 'user.node_grants:view'
|
||||
- user.permissions
|
||||
tags:
|
||||
- 'config:field.storage.node.body'
|
||||
- 'config:field.storage.node.field_date'
|
||||
- 'config:field.storage.node.field_site'
|
||||
- 'config:views.view.actus'
|
||||
- node_list
|
||||
page_1:
|
||||
id: page_1
|
||||
display_title: 'Page à la une'
|
||||
@ -819,9 +1038,20 @@ display:
|
||||
reset_button: true
|
||||
reset_button_label: Réinitialiser
|
||||
exposed_sorts_label: 'Trier par'
|
||||
expose_sort_order: true
|
||||
expose_sort_order: false
|
||||
sort_asc_label: Asc
|
||||
sort_desc_label: Desc
|
||||
empty:
|
||||
title:
|
||||
id: title
|
||||
table: views
|
||||
field: title
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: title
|
||||
empty: true
|
||||
title: Archives
|
||||
sorts:
|
||||
field_date_end_value:
|
||||
id: field_date_end_value
|
||||
@ -962,7 +1192,7 @@ display:
|
||||
identifier: field_type_d_actualite_target_id
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
multiple: true
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
@ -1008,12 +1238,12 @@ display:
|
||||
min: ''
|
||||
max: ''
|
||||
value: ''
|
||||
type: date
|
||||
type: date_year
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: field_date_value_op
|
||||
label: 'Par année'
|
||||
label: 'par année'
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: field_date_value_op
|
||||
@ -1044,48 +1274,37 @@ display:
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
title:
|
||||
id: title
|
||||
table: node_field_data
|
||||
field: title
|
||||
field_site_target_id_verf:
|
||||
id: field_site_target_id_verf
|
||||
table: node__field_site
|
||||
field: field_site_target_id_verf
|
||||
relationship: field_site
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
entity_type: node
|
||||
entity_field: title
|
||||
plugin_id: string
|
||||
operator: contains
|
||||
value: ''
|
||||
plugin_id: verf
|
||||
operator: in
|
||||
value: { }
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: title_op
|
||||
label: 'par site'
|
||||
operator_id: field_site_target_id_verf_op
|
||||
label: 'par site(s)'
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: title_op
|
||||
operator: field_site_target_id_verf_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: site
|
||||
identifier: field_site_target_id_verf
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
multiple: true
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
admin: '0'
|
||||
root: '0'
|
||||
editeur: '0'
|
||||
placeholder: ''
|
||||
autocomplete_filter: 1
|
||||
autocomplete_min_chars: '0'
|
||||
autocomplete_items: '10'
|
||||
autocomplete_field: title_1
|
||||
autocomplete_raw_suggestion: 0
|
||||
autocomplete_raw_dropdown: 0
|
||||
autocomplete_dependent: 0
|
||||
autocomplete_contextual: 1
|
||||
autocomplete_autosubmit: 0
|
||||
reduce: 0
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
@ -1098,6 +1317,13 @@ display:
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
verf_target_bundles:
|
||||
site: site
|
||||
actualite: '0'
|
||||
partenaire: '0'
|
||||
ressource: '0'
|
||||
static: '0'
|
||||
show_unpublished: 0
|
||||
combine:
|
||||
id: combine
|
||||
table: views
|
||||
@ -1112,7 +1338,7 @@ display:
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: combine_op
|
||||
label: 'Dans le texte'
|
||||
label: Recherche
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: combine_op
|
||||
@ -1159,6 +1385,7 @@ display:
|
||||
groups:
|
||||
1: AND
|
||||
defaults:
|
||||
empty: false
|
||||
title: false
|
||||
exposed_form: false
|
||||
sorts: false
|
||||
@ -1221,3 +1448,5 @@ display:
|
||||
- 'config:field.storage.node.body'
|
||||
- 'config:field.storage.node.field_date'
|
||||
- 'config:field.storage.node.field_site'
|
||||
- 'config:views.view.actus'
|
||||
- node_list
|
||||
|
@ -908,7 +908,21 @@ $(document).ready(function () {
|
||||
links.slideToggle();
|
||||
$(this).toggleClass("open");
|
||||
});
|
||||
});
|
||||
});
|
||||
// slimselect
|
||||
// duplicated due to embeded view (archives)
|
||||
var type_select = new SlimSelect({
|
||||
select: '#edit-field-type-d-actualite-target-id--2'
|
||||
})
|
||||
var type_select2 = new SlimSelect({
|
||||
select: '#edit-field-type-d-actualite-target-id--3'
|
||||
})
|
||||
var type_select = new SlimSelect({
|
||||
select: '#edit-field-site-target-id-verf--2'
|
||||
})
|
||||
var type_select = new SlimSelect({
|
||||
select: '#edit-field-site-target-id-verf--3'
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -850,7 +850,21 @@ $(document).ready(function () {
|
||||
links.slideToggle();
|
||||
$(this).toggleClass("open");
|
||||
});
|
||||
});
|
||||
});
|
||||
// slimselect
|
||||
// duplicated due to embeded view (archives)
|
||||
var type_select = new SlimSelect({
|
||||
select: '#edit-field-type-d-actualite-target-id--2'
|
||||
})
|
||||
var type_select2 = new SlimSelect({
|
||||
select: '#edit-field-type-d-actualite-target-id--3'
|
||||
})
|
||||
var type_select = new SlimSelect({
|
||||
select: '#edit-field-site-target-id-verf--2'
|
||||
})
|
||||
var type_select = new SlimSelect({
|
||||
select: '#edit-field-site-target-id-verf--3'
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user