We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cda043 commit 90152f8Copy full SHA for 90152f8
1 file changed
plugins/bc-blog/src/Model/Table/BlogContentsTable.php
@@ -122,15 +122,15 @@ public function initialize(array $config): void
122
'order' => 'posted DESC',
123
'foreignKey' => 'blog_content_id',
124
'dependent' => true,
125
- 'exclusive' => false,
+ 'cascadeCallbacks' => true,
126
]);
127
$this->hasMany('BlogCategories', [
128
'className' => 'BcBlog.BlogCategories',
129
'order' => 'id',
130
'limit' => 10,
131
132
133
134
135
}
136
0 commit comments