forked from 0x2620/pandora
current values
This commit is contained in:
parent
fde89554cc
commit
f124c1b2e1
1 changed files with 4 additions and 1 deletions
|
@ -660,7 +660,10 @@ class Item(models.Model):
|
|||
for key in self.facet_keys + ['title']:
|
||||
current_values = self.get(key, [])
|
||||
if key == 'title':
|
||||
if current_values:
|
||||
current_values = [current_values]
|
||||
else:
|
||||
current_values = []
|
||||
ot = self.get('original_title')
|
||||
if ot:
|
||||
current_values.append(ot)
|
||||
|
|
Loading…
Reference in a new issue