mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
636c916715
fixes https://github.com/TryGhost/Team/issues/2657
The `omitPivot` option does not have an affect on a models
`_previousAttributes`. When we serialise a model and want to retrieve
the previous attributes we need to ensure we manually remove the pivot
fields
See
|
||
---|---|---|
.. | ||
__snapshots__ | ||
members.test.js | ||
pages.test.js | ||
posts.test.js | ||
site.test.js | ||
tags.test.js |