Skip to content

Fix import and display of multiple tags from the same category - #614

Merged
lippserd merged 1 commit into
mainfrom
import-multiple-tags
Mar 26, 2026
Merged

Fix import and display of multiple tags from the same category#614
lippserd merged 1 commit into
mainfrom
import-multiple-tags

Conversation

@lippserd

Copy link
Copy Markdown
Member

When an object had more than one tag from a MULTIPLE-cardinality category, TagLookup silently discarded all but the last tag due to swapped if/else branches. TaggingDetails rendered the category row once per tag because the JOIN was not grouped. Swap the branches and add GROUP BY tc.uuid to fix both.

fixes #596

When an object had more than one tag from a MULTIPLE-cardinality category,
`TagLookup` silently discarded all but the last tag due to swapped `if`/`else`
branches. `TaggingDetails` rendered the category row once per tag because the
JOIN was not grouped. Swap the branches and add `GROUP BY tc.uuid` to fix both.
@lippserd lippserd added this to the v1.8.1 milestone Mar 26, 2026
@cla-bot cla-bot Bot added the cla/signed label Mar 26, 2026
@lippserd
lippserd merged commit 836498f into main Mar 26, 2026
5 checks passed
lippserd added a commit that referenced this pull request Mar 28, 2026
When an object had more than one tag from a MULTIPLE-cardinality category,
`TagLookup` silently discarded all but the last tag due to swapped `if`/`else`
branches. `TaggingDetails` rendered the category row once per tag because the
JOIN was not grouped. Swap the branches and add `GROUP BY tc.uuid` to fix both.

(cherry picked from commit 836498f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multiple Tags not available in import source

2 participants