mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge from trunk
This commit is contained in:
commit
5710fd5f18
@ -1484,7 +1484,6 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
|||||||
# there is a change of case
|
# there is a change of case
|
||||||
self.conn.execute('''UPDATE tags SET name=?
|
self.conn.execute('''UPDATE tags SET name=?
|
||||||
WHERE id=?''', (new_name, old_id))
|
WHERE id=?''', (new_name, old_id))
|
||||||
self.dirty_books_referencing('tags', new_id, commit=False)
|
|
||||||
new_id = old_id
|
new_id = old_id
|
||||||
else:
|
else:
|
||||||
# It is possible that by renaming a tag, the tag will appear
|
# It is possible that by renaming a tag, the tag will appear
|
||||||
|
Loading…
x
Reference in New Issue
Block a user