diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-21 14:24:48 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-21 14:24:48 +0200 |
| commit | 1912b8fbf0e1e1ea84a89c033e20e34235d19cce (patch) | |
| tree | 1a675ea6cd9c742af9f53506b820761a49c3452e /test/integration | |
| parent | 93800f8899fba97c00016301015fe812dec1b6e5 (diff) | |
Stop related_assets from duplicating on every clone
self.assets = page.assets implicitly cleared the collection before
recreating it. Replacing it with an explicit loop, to preserve the
headline flag across clones, dropped that clearing -- every
clone_attributes_from call since has been appending related_assets
rather than replacing them. Restored with an explicit delete_all
before the copy.
update_assets (the sort_images reorder action) had the same gap for
headline specifically; it now carries the previous headline forward
when that asset is still present in the new list.
Diffstat (limited to 'test/integration')
0 files changed, 0 insertions, 0 deletions
