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 d1ebaa3 commit 7e92900Copy full SHA for 7e92900
hook.php
@@ -280,8 +280,9 @@ function plugin_tag_redefine_api_schemas(array $data): array {
280
'ref_join' => [
281
// This is the linking join between the main item and the data needed
282
'table' => PluginTagTagItem::getTable(),
283
- 'fkey' => 'id',
284
- 'field' => 'items_id',
+ 'fkey' => 'id', // ID field on the main join table
+ 'field' => 'items_id', // items_id field on the linking join table
285
+ // Join params becomes tags_ref.items_id=_.id
286
'condition' => [
287
'itemtype' => $schema['x-itemtype']
288
],
0 commit comments