mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-07-22 21:44:00 +02:00
fix: assign new tag ID to aliases before adding them (#1455)
This commit is contained in:
committed by
GitHub
parent
c3b6bec2ff
commit
15230cc369
@@ -1728,6 +1728,8 @@ class Library:
|
||||
session.flush()
|
||||
|
||||
if aliases is not None:
|
||||
for a in aliases:
|
||||
a.tag_id = tag.id
|
||||
self.update_aliases(tag, aliases, session)
|
||||
session.flush()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user