filter/sort

This commit is contained in:
j 2022-01-27 14:42:48 +00:00
commit 097d64a2ce
7 changed files with 78 additions and 19 deletions

View file

@ -24,7 +24,7 @@ class Command(BaseCommand):
keys = [
'id', 'title', 'director', 'summary', 'source', 'sourcedescription', 'date', 'location',
'country', 'type',
'country', 'type', 'year',
'duration', 'featuring', 'cinematographer',
'hue', 'saturation', 'lightness',
'folder', 'folderdescription', 'rightslevel'
@ -50,6 +50,7 @@ class Command(BaseCommand):
folders[item['folder']] = {
'title': item['folder'],
'date': item.get('date', ''),
'year': item.get('year', ''),
'country': item.get('country', []),
'featuring': item.get('featuring', []),
'type': item['type'],