summaryrefslogtreecommitdiff
path: root/lib/gallery.ajax.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-11-14 15:01:29 -0800
committerBharat Mediratta <bharat@menalto.com>2010-11-14 15:01:29 -0800
commit7efa9a5b87eaa8fe86972376af8c58dc29c44392 (patch)
treeabf5180da0521c1ab617cade4a83abc884c0f355 /lib/gallery.ajax.js
parente87c502eded374e927c531ad10a78dac8ee70e64 (diff)
Fix two issues with item deletion:
1) We're compacting tags on every deletion which is slow. Since we delete albums in batch, we should just do one tag compaction at the end. Fixes #1487. 2) Issue introduced in 3d952f41c8d90b5c217616fb060697f93fb9db07 where we trigger an item_related_update in tag::clear_all(). Since tag::clear_all() is called when we delete an item, this causes the search module to attempt to index a deleted item. Move that triggering upstream.
Diffstat (limited to 'lib/gallery.ajax.js')
0 files changed, 0 insertions, 0 deletions