mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 00:53:46 +02:00
Update last_modified when deleting values from custom columns using the tag browser.
This commit is contained in:
parent
33ea83d118
commit
01c361e7fe
1 changed files with 1 additions and 0 deletions
|
|
@ -292,6 +292,7 @@ def delete_custom_item_using_id(self, id, label=None, num=None):
|
|||
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…
Reference in a new issue