Skip to content

Commit

Permalink
Merge pull request linnovate#116 from istolar/OI-58-data-export
Browse files Browse the repository at this point in the history
OI-58: Added additional filters. Changed the name of download button,…
  • Loading branch information
db-Matroskeen committed Aug 11, 2020
2 parents f418b21 + bf1203a commit 9109378
Show file tree
Hide file tree
Showing 7 changed files with 883 additions and 106 deletions.
131 changes: 129 additions & 2 deletions config/install/views.view.data_export_comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
- field.storage.comment.comment_body
- system.menu.admin
module:
- better_exposed_filters
- comment
- csv_serialization
- rest
Expand Down Expand Up @@ -42,7 +43,7 @@ display:
query_comment: ''
query_tags: { }
exposed_form:
type: basic
type: bef
options:
submit_button: Apply
reset_button: false
Expand All @@ -51,6 +52,34 @@ display:
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
text_input_required: 'Select any filter and click on Apply to see results'
text_input_required_format: basic_html
bef:
general:
autosubmit: true
autosubmit_exclude_textfield: false
autosubmit_textfield_delay: 500
autosubmit_hide: true
input_required: false
allow_secondary: false
secondary_label: 'Advanced options'
secondary_open: false
filter:
name:
plugin_id: default
advanced:
collapsible: false
is_secondary: false
created:
plugin_id: bef_datepicker
advanced:
collapsible: false
is_secondary: false
created_1:
plugin_id: bef_datepicker
advanced:
collapsible: false
is_secondary: false
pager:
type: mini
options:
Expand Down Expand Up @@ -363,6 +392,104 @@ display:
entity_type: comment
entity_field: name
plugin_id: string
created:
id: created
table: comment_field_data
field: created
relationship: none
group_type: group
admin_label: ''
operator: '>='
value:
min: ''
max: ''
value: ''
type: date
group: 1
exposed: true
expose:
operator_id: created_op
label: 'From date'
description: ''
use_operator: false
operator: created_op
operator_limit_selection: false
operator_list: { }
identifier: created
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
placeholder: ''
min_placeholder: ''
max_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: { }
entity_type: comment
entity_field: created
plugin_id: date
created_1:
id: created_1
table: comment_field_data
field: created
relationship: none
group_type: group
admin_label: ''
operator: '<='
value:
min: ''
max: ''
value: ''
type: date
group: 1
exposed: true
expose:
operator_id: created_1_op
label: 'Until date'
description: ''
use_operator: false
operator: created_1_op
operator_limit_selection: false
operator_list: { }
identifier: created_1
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
placeholder: ''
min_placeholder: ''
max_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: { }
entity_type: comment
entity_field: created
plugin_id: date
sorts: { }
title: 'Data export comments'
header: { }
Expand Down Expand Up @@ -403,7 +530,7 @@ display:
encoding: utf8
utf8_bom: '0'
use_serializer_encode_only: false
filename: '[date:html_month]/comments.cvs'
filename: '[date:html_month]/comments.csv'
automatic_download: false
store_in_public_file_directory: null
redirect_to_display: none
Expand Down
Loading

0 comments on commit 9109378

Please sign in to comment.