fix count
This commit is contained in:
parent
055c44443e
commit
8e7bb8815c
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ class List(db.Model):
|
|||
def items_count(self):
|
||||
key = 'list:' + self.public_id
|
||||
value = state.cache.get(key)
|
||||
if key is None:
|
||||
if value is None:
|
||||
from item.models import Item
|
||||
if self._query:
|
||||
data = self._query
|
||||
|
|
Loading…
Reference in a new issue