Commit 836498f
authored
Fix import and display of multiple tags from the same category (#614)
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.1 parent 5a2f1d5 commit 836498f
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | 57 | | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments