forked from 0x2620/pandora
update in memory object too
This commit is contained in:
parent
8520c06680
commit
b9129b10c7
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ def update_item(id):
|
|||
if filter(lambda f: f['id'] == a.layer, settings.CONFIG['filters']):
|
||||
a.item.update_layer_facet(a.layer)
|
||||
Item.objects.filter(id=a.item.id).update(modified=a.modified)
|
||||
a.item.modified = a.modified
|
||||
a.item.update_find()
|
||||
a.item.update_sort()
|
||||
a.item.update_facets()
|
||||
|
|
Loading…
Reference in a new issue