also save the work title
parent
9216f40356
commit
b4184b4ddc
|
@ -274,7 +274,13 @@ def edit_edition(request, work_id, edition_id, by=None):
|
|||
work.publication_range = None # will reset on next access
|
||||
work.language = form.cleaned_data['language']
|
||||
work.age_level = form.cleaned_data['age_level']
|
||||
work.save(update_fields=['description', 'publication_range', 'language', 'age_level'])
|
||||
work.save(update_fields=[
|
||||
'title',
|
||||
'description',
|
||||
'publication_range',
|
||||
'language',
|
||||
'age_level'
|
||||
])
|
||||
|
||||
id_type = form.cleaned_data['id_type']
|
||||
id_val = form.cleaned_data['id_value']
|
||||
|
|
Loading…
Reference in New Issue