https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42032 --- Comment #25 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 198302 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198302&action=edit Bug 42032: (follow-up) Write state JSON to AUTHORITIES info column Mirrors bug 42188's biblio info-column convention. Generalise the CATALOGUING-only info-column rewrite branch in C4::Log::logaction to cover AUTHORITIES as well, using a module-aware prefix map so each module gets its own prefix ("biblio" / "authority"). For AUTHORITIES this means MODIFY now stores "authority {pre-change JSON}" and DELETE stores "authority {final-state JSON}", while ADD stays bare "authority" (the call site passes the string directly and ADD is guarded anyway). The biblio behaviour is preserved bit-for-bit. Test plan: 1. prove t/db_dependent/AuthoritiesMarc.t 2. Enable AuthoritiesLog. Create / modify / delete an authority via the staff UI, then check action_logs: - ADD row's info column reads just "authority" - MODIFY row's info column reads "authority { ... pre-change JSON ... }" - DELETE row's info column reads "authority { ... final-state JSON ... }" 3. prove t/db_dependent/Koha/Biblio.t 4. prove t/db_dependent/Log.t -- You are receiving this mail because: You are watching all bug changes.