We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ce2ad commit 3df5bc4Copy full SHA for 3df5bc4
hook.php
@@ -298,8 +298,9 @@ function plugin_tag_redefine_api_schemas(array $data): array {
298
'ref_join' => [
299
// This is the linking join between the main item and the data needed
300
'table' => PluginTagTagItem::getTable(),
301
- 'fkey' => 'id',
302
- 'field' => 'items_id',
+ 'fkey' => 'id', // ID field on the main join table
+ 'field' => 'items_id', // items_id field on the linking join table
303
+ // Join params becomes tags_ref.items_id=_.id
304
'condition' => [
305
'itemtype' => $schema['x-itemtype']
306
],
0 commit comments