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-35304-bulk-unpublishing-orphan-documents-error-for-specific-ids #2726

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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-35304.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
#
Added:
- description: Bulk unpublishing orphan documents error for specific ids
issue: DP-35304
56 changes: 55 additions & 1 deletion conf/drupal/config/views.view.documents_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ dependencies:
- field.storage.media.field_organizations
- media.type.document
module:
- csv_serialization
- media
- rest
- serialization
- user
- views_data_export
id: documents_report
label: 'Documents report'
module: views
Expand Down Expand Up @@ -454,7 +458,7 @@ display:
options:
perm: 'use content reports'
cache:
type: tag
type: none
options: { }
empty: { }
sorts:
Expand Down Expand Up @@ -633,6 +637,56 @@ display:
- user.permissions
tags:
- 'config:field.storage.media.field_organizations'
data_export_1:
id: data_export_1
display_title: 'Data export'
display_plugin: data_export
position: 2
display_options:
pager:
type: some
options:
offset: 0
items_per_page: 0
style:
type: data_export
options:
formats:
csv: csv
csv_settings:
delimiter: ','
enclosure: '"'
escape_char: \
strip_tags: true
trim: true
encoding: utf8
utf8_bom: '0'
use_serializer_encode_only: false
display_extenders:
metatag_display_extender:
metatags: { }
tokenize: false
path: admin/ma-dash/reports/documents-report/export
displays:
page_docs: page_docs
default: '0'
filename: 'massgov-documents-report-[date:html_datetime].csv'
automatic_download: false
export_method: batch
export_batch_size: 100
store_in_public_file_directory: false
custom_redirect_path: false
redirect_to_display: page_docs
include_query_params: true
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- request_format
- user.permissions
tags:
- 'config:field.storage.media.field_organizations'
page_docs:
id: page_docs
display_title: Page
Expand Down