Skip to content

Commit

Permalink
#4134: Datasets view should only list nodes of type Data (#4135)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-korn authored Feb 23, 2024
1 parent 6850890 commit 126d1e5
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
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

0 comments on commit 126d1e5

Please sign in to comment.