Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP-24415: View changes related to collections and documents #1433

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions changelogs/DP-24415.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#
# Write your changelog entry here. Every pull request must have a changelog yml file.
#
# Change types:
# #############################################################################
# You can use one of the following types:
# - Added: For new features.
# - Changed: For changes to existing functionality.
# - Deprecated: For soon-to-be removed features.
# - Removed: For removed features.
# - Fixed: For any bug fixes.
# - Security: In case of vulnerabilities.
#
# Format
# #############################################################################
# The format is crucial. Please follow the examples below. For reference, the requirements are:
# - All 3 parts are required and you must include "Type", "description" and "issue".
# - "Type" must be left aligned and followed by a colon.
# - "description" must be indented with 2 spaces followed by a colon
# - "issue" must be indented with 4 spaces followed by a colon.
# - "issue" is for the Jira ticket number only e.g. DP-1234
# - No extra spaces, indents, or blank lines are allowed.
#
# Example:
# #############################################################################
# Fixed:
# - description: Fixes scrolling on edit pages in Safari.
# issue: DP-13314
#
# You may add more than 1 description & issue for each type using the following format:
# Changed:
# - description: Automating the release branch.
# issue: DP-10166
# - description: Second change item that needs a description.
# issue: DP-19875
# - description: Third change item that needs a description along with an issue.
# issue: DP-19843
#
Changed:
- description: View changes related to collections and documents.
issue: DP-24415
3 changes: 2 additions & 1 deletion conf/drupal/config/views.view.add_collections_documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies:
- user
- views_autocomplete_filters
- views_bulk_operations
- views_porter_stemmer
_core:
default_config_hash: '-fJpPBLfGRPa6VPFiBweHcjlSOTqltsw5cbz8VVqXAI'
id: add_collections_documents
Expand Down Expand Up @@ -1389,7 +1390,7 @@ display:
operator_id: field_collections_target_id_op
label: 'Collection (filter based on existing)'
description: ''
use_operator: false
use_operator: true
operator: field_collections_target_id_op
operator_limit_selection: false
operator_list: { }
Expand Down
197 changes: 196 additions & 1 deletion conf/drupal/config/views.view.all_documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ status: true
dependencies:
config:
- field.storage.media.field_content_type
- field.storage.media.field_document_label
- field.storage.media.field_document_listing_desc
- field.storage.media.field_organizations
- field.storage.media.field_title
- media.type.document
Expand All @@ -21,6 +23,7 @@ dependencies:
- user
- views_autocomplete_filters
- views_data_export
- views_porter_stemmer
id: all_documents
label: 'All Documents'
module: views
Expand Down Expand Up @@ -1351,6 +1354,69 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
field_title:
id: field_title
table: media__field_title
field: field_title
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Title
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
view_media_1:
id: view_media_1
table: media
Expand All @@ -1360,7 +1426,7 @@ display:
admin_label: ''
entity_type: media
plugin_id: entity_link
label: Title/Permalink
label: Permalink
exclude: false
alter:
alter_text: true
Expand Down Expand Up @@ -1782,6 +1848,132 @@ display:
text: link
output_url_as_text: true
absolute: true
field_document_label:
id: field_document_label
table: media__field_document_label
field: field_document_label
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Label(s)
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_document_listing_desc:
id: field_document_listing_desc
table: media__field_document_listing_desc
field: field_document_listing_desc
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Listing description'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
style:
type: data_export
options:
Expand Down Expand Up @@ -1833,7 +2025,10 @@ display:
- user.permissions
tags:
- 'config:field.storage.media.field_content_type'
- 'config:field.storage.media.field_document_label'
- 'config:field.storage.media.field_document_listing_desc'
- 'config:field.storage.media.field_organizations'
- 'config:field.storage.media.field_title'
- 'config:workflow_list'
page_1:
id: page_1
Expand Down