look at "title" field instead of "titles"
This commit is contained in:
parent
16ebe2882d
commit
1c33db4c79
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class ChangedObjectCollection(BaseSchema):
|
|||
if changed_object is None:
|
||||
# todo: titles should be better, probably
|
||||
titles = (
|
||||
operation.fields.get("titles", {})
|
||||
operation.fields.get("title", {})
|
||||
if isinstance(operation, CreateObjectOperation)
|
||||
else self.prev.get(operation.obj).titles
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue