summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-21 14:24:48 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-21 14:24:48 +0200
commit1912b8fbf0e1e1ea84a89c033e20e34235d19cce (patch)
tree1a675ea6cd9c742af9f53506b820761a49c3452e /public/stylesheets/admin.css
parent93800f8899fba97c00016301015fe812dec1b6e5 (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 'public/stylesheets/admin.css')
0 files changed, 0 insertions, 0 deletions