When resetting the display for a given entity view mode, it currently deletes all records for the entity - regardless of view mode. What it instead should do is update the entity_type/entity_id/revision_id/view_mode record to the default panelizer display, or at least just delete that one record, not everything.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | panelizer-n2218275-4.patch | 3.9 KB | damienmckenna |
Comments
Comment #1
damienmckennaThis needs to be fixed in the next release.
Comment #2
damienmckennaIt's related to #2209083: 'Reset' should have option to create new revision.
Comment #3
damienmckennaComment #4
damienmckennaThis adds a new reset_entity_panelizer() method to PanelizerEntityDefault that updates the {panelizer_entity} records to the current default display, rather than just deleting records.
Comment #6
damienmckennaCommitted.