current values
This commit is contained in:
parent
1f2a5d1c62
commit
e35c178718
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