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

#4134: Datasets view should only list nodes of type Data #4135

Merged
merged 2 commits into from
Feb 23, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ class AdminDatasetFileUploadTest extends BrowserTestBase {

protected $defaultTheme = 'stark';

/**
* @todo Remove this when we drop support for Drupal 10.0.
*/
protected $strictConfigSchema = FALSE;

/**
* Process queues in a predictable order.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ class AdminDatasetJsonFormTest extends BrowserTestBase {

protected $defaultTheme = 'stark';

/**
* @todo Remove this when we drop support for Drupal 10.0.
*/
protected $strictConfigSchema = FALSE;

public function testAdminDatasetJsonForm() {
/** @var \Drupal\metastore\MetastoreService $metastore_service */
$metastore_service = $this->container->get('dkan.metastore.service');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ status: true
dependencies:
config:
- field.storage.node.field_data_type
- node.type.data
- system.menu.admin
module:
- content_moderation
Expand Down Expand Up @@ -501,6 +502,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: ''
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
group_column: value
group_columns: { }
group_rows: true
Expand Down Expand Up @@ -784,6 +794,48 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
type:
id: type
table: node_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: type
plugin_id: bundle
operator: in
value:
data: data
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
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: { }
filter_groups:
operator: AND
groups:
Expand Down