From e5ce0e314b2a4943668d50fb07399c9756f135be Mon Sep 17 00:00:00 2001 From: "viktor.osadchuk" Date: Thu, 20 Mar 2025 09:41:56 +0200 Subject: [PATCH 1/2] Added mapping for columns --- Model/ResourceModel/Post/Collection.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Model/ResourceModel/Post/Collection.php b/Model/ResourceModel/Post/Collection.php index 56b2a488..d8b82432 100755 --- a/Model/ResourceModel/Post/Collection.php +++ b/Model/ResourceModel/Post/Collection.php @@ -103,8 +103,11 @@ protected function _construct() $this->_map['fields']['store'] = 'store_table.store_id'; $this->_map['fields']['category'] = 'category_table.category_id'; $this->_map['fields']['tag'] = 'tag_table.tag_id'; - $this->_map['fields']['tag'] = 'tag_table.tag_id'; $this->_map['fields']['relatedproduct'] = 'relatedproduct_table.related_id'; + $this->_map['fields']['publish_time'] = 'main_table.publish_time'; + $this->_map['fields']['author_id'] = 'main_table.author_id'; + $this->_map['fields']['include_in_recent'] = 'main_table.include_in_recent'; + $this->_map['fields']['end_time'] = 'main_table.end_time'; } /** From 362e44abd25e87753ad8aa0408ccd2264dd94929 Mon Sep 17 00:00:00 2001 From: "viktor.osadchuk" Date: Wed, 26 Mar 2025 17:09:17 +0200 Subject: [PATCH 2/2] Corrections for Use Default Value --- view/adminhtml/ui_component/blog_post_form.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/view/adminhtml/ui_component/blog_post_form.xml b/view/adminhtml/ui_component/blog_post_form.xml index 2f63615a..709a1dc8 100755 --- a/view/adminhtml/ui_component/blog_post_form.xml +++ b/view/adminhtml/ui_component/blog_post_form.xml @@ -171,6 +171,7 @@ post true content + ui/form/field admin__field-wide 50 @@ -203,6 +204,8 @@ wysiwyg post true + ui/form/field + admin__field-wide short_content 60 @@ -464,6 +467,7 @@ text URL Key input + ui/form/field post identifier 10 @@ -564,6 +568,7 @@ text OG Title input + ui/form/field post og_title 10