https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36698
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194772|0 |1 is obsolete| | --- Comment #8 from David Nind <[email protected]> --- Created attachment 194874 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194874&action=edit Bug 36698: Expand nested object values in diff table When the diff column contains a value that is itself an object (e.g. a set of granular subpermissions such as {"override_renewals":1,"manage_curbside_pickups":1}), the previous renderer would JSON.stringify it into a single unreadable cell. This follow-up makes fmt() recurse into objects, rendering them as an indented <ul> list of key: value pairs instead. The <del>/<ins> colour wrapper then highlights the entire expanded block, making it clear at a glance which subpermissions were added or removed. null values (e.g. suspend_until transitioning to/from null) are rendered as empty, letting the red/green cell background convey the presence or absence of the value. Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
