mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Update last_modified when deleting values from custom columns using the tag browser.
This commit is contained in:
parent
33ea83d118
commit
01c361e7fe
@ -292,6 +292,7 @@ class CustomColumns(object):
|
||||
if num is not None:
|
||||
data = self.custom_column_num_map[num]
|
||||
table,lt = self.custom_table_names(data['num'])
|
||||
self.dirty_books_referencing('#'+data['label'], id, commit=False)
|
||||
self.conn.execute('DELETE FROM %s WHERE value=?'%lt, (id,))
|
||||
self.conn.execute('DELETE FROM %s WHERE id=?'%table, (id,))
|
||||
self.conn.commit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user