From bafc7054d85c4e3ee30e5bae3b9c404f3a8fb824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 7 Oct 2024 14:40:20 +0200 Subject: [PATCH] Use the static query strategy for the implicitly created widgets --- modules/my_page/lib/my_page/grid_registration.rb | 4 ++-- .../requests/api/v3/grids/grids_create_form_resource_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/my_page/lib/my_page/grid_registration.rb b/modules/my_page/lib/my_page/grid_registration.rb index 665f6e1bfb8b..783fa6d6012e 100644 --- a/modules/my_page/lib/my_page/grid_registration.rb +++ b/modules/my_page/lib/my_page/grid_registration.rb @@ -55,7 +55,7 @@ class GridRegistration < ::Grids::Configuration::Registration column_count: 2, widgets: [ { - identifier: "work_packages_table", + identifier: "work_packages_assigned", start_row: 1, end_row: 2, start_column: 1, @@ -70,7 +70,7 @@ class GridRegistration < ::Grids::Configuration::Registration } }, { - identifier: "work_packages_table", + identifier: "work_packages_created", start_row: 1, end_row: 2, start_column: 2, diff --git a/modules/my_page/spec/requests/api/v3/grids/grids_create_form_resource_spec.rb b/modules/my_page/spec/requests/api/v3/grids/grids_create_form_resource_spec.rb index f09fd0aee6c2..49841a4f9a3e 100644 --- a/modules/my_page/spec/requests/api/v3/grids/grids_create_form_resource_spec.rb +++ b/modules/my_page/spec/requests/api/v3/grids/grids_create_form_resource_spec.rb @@ -84,7 +84,7 @@ widgets: [ { _type: "GridWidget", - identifier: "work_packages_table", + identifier: "work_packages_assigned", options: { name: "Work packages assigned to me", queryProps: { @@ -99,7 +99,7 @@ }, { _type: "GridWidget", - identifier: "work_packages_table", + identifier: "work_packages_created", options: { name: "Work packages created by me", queryProps: {