[Bug 35645] New: Modification Log only show changed values
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Bug ID: 35645 Summary: Modification Log only show changed values Change sponsored?: --- Product: Koha Version: 22.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: angela.berrett@familysearch.org QA Contact: testopia@bugs.koha-community.org CC: angela.berrett@familysearch.org, gmcharlt@gmail.com Created attachment 160266 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160266&action=edit OLIB cataloging system item modification log The modification logs for a bib record puts all bibliographic and item information in a single text box when an edit occurs. For easier reading it would be nice to only show the fields/information that were modified. A previous catalog our library used would show a single line per change when an item was modified. It would show the date | person who made the change | old value | new value. This kept an accurate history and made reviewing the changes easy to read. As there is a single modification page for all items on a bib record the object column identifying which item was changed would need to be included. A similar table could be created for bib record modifications identifying the MARC field that was changed either in the Object column or in its own column, along with the old and new values. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #1 from Angela Berrett <angela.berrett@familysearch.org> --- Created attachment 160267 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160267&action=edit Current Koha modification log view -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |22794 Summary|Modification Log only show |Modification log for |changed values |bibliographic records and | |items should only show | |changed values Version|22.11 |master Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22794 [Bug 22794] [Omnibus] Improve and extend logging in Koha -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Kathleen L. <klehman@faylib.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |klehman@faylib.org --- Comment #2 from Kathleen L. <klehman@faylib.org> --- We often find it difficult to identify the edit that has been made int he modification log. Agree that a more concise change log as Angela describes would be helpful. A step in that direction might be do highlight or change the color of the field(s) that had been edited. I imagine that might be easier coding? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Laura O'Neil <laura@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |laura@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #3 from Laura O'Neil <laura@bywatersolutions.com> --- Yes please, this would be a great enhancement. +1 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #4 from Angela Berrett <angela.berrett@familysearch.org> --- (In reply to Kathleen L. from comment #2)
We often find it difficult to identify the edit that has been made int he modification log. Agree that a more concise change log as Angela describes would be helpful.
A step in that direction might be do highlight or change the color of the field(s) that had been edited. I imagine that might be easier coding?
I like the idea of highlighting as a start. With the 24.11 enhancement to log an item's previous data as well as the changed data this could be a useful conversation again. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 vstever@myokaloosa.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vstever@myokaloosa.com --- Comment #5 from vstever@myokaloosa.com --- Definitely would like to have this. I find it very challenging to parse down to the actual change -- I feel like I waste a lot of time struggling to understand. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com --- Comment #6 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Would it be sufficient to just include the action_logs.diff column in the log viewer, or would be want to format that data somehow? For reference, here's that diff column after an edit to remove a public note: {"D":{"datelastseen":{"O":"2025-04-11 13:44:14","N":"2025-04-11 13:44:00"},"timestamp":{"O":"2025-04-11 13:44:14","N":"2025-04-11 13:44:45"},"itemnotes":{"N":null,"O":"boop"}}} -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #7 from Angela Berrett <angela.berrett@familysearch.org> --- (In reply to Andrew Fuerste-Henry from comment #6)
Would it be sufficient to just include the action_logs.diff column in the log viewer, or would be want to format that data somehow? For reference, here's that diff column after an edit to remove a public note:
{"D":{"datelastseen":{"O":"2025-04-11 13:44:14","N":"2025-04-11 13:44:00"},"timestamp":{"O":"2025-04-11 13:44:14","N":"2025-04-11 13:44:45"},"itemnotes":{"N":null,"O":"boop"}}}
That would be sufficient if formatting is difficult - at least in my opinion. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #8 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 180904 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180904&action=edit Bug 35645: Show diff in log viewer To test: 1 - apply patch 2 - search the log viewer for item edits or something else that records a diff value 3 - see that diff in the new column 4 - confirm the diff value is present in exports and prints 5 - confirm you can use column config to hide that diff value -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |andrew@bywatersolutions.com |ity.org | --- Comment #9 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- This simply makes the diff visible. It should be pretty doable to get it to format more readably (for someone with more display skill than I). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #10 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Though I must admit, the change I've made here is really broader than the current title of this bug. Angela, do you mind if I re-title and re-focus this, or should I file my own bug? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #11 from Angela Berrett <angela.berrett@familysearch.org> --- (In reply to Andrew Fuerste-Henry from comment #10)
Though I must admit, the change I've made here is really broader than the current title of this bug. Angela, do you mind if I re-title and re-focus this, or should I file my own bug?
Would you call this more of an "interim solution" that is a step towards redesigning the front-end format? If so, another bug might be good, and just link it to this one as the end goal. It sounds like the ideal format is a more concise and reader-friendly one (less punctuation, more full words) for those of us who are not great at reading code. If this is a final solution, then you are welcome to change this bug. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=39628 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #12 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- I've filed a new bug for my patch to just make the diff visible and will leave this one for a more refined view. I also saw bug 36698 for a nice view of the diff. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|andrew@bywatersolutions.com |koha-bugs@lists.koha-commun | |ity.org -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180904|0 |1 is obsolete| | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #13 from Angela Berrett <angela.berrett@familysearch.org> --- Now that in the 25.05 upgrade the action_logs.diff show in the Modification (per Bug 39628), it would be great to have help making it pretty. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette@bywatersolutions.co | |m --- Comment #14 from Lisette Scheer <lisette@bywatersolutions.com> --- Angela, would the diff from 36698 (picture here https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194773) work for you? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 --- Comment #15 from Angela Berrett <angela.berrett@familysearch.org> --- If it can show the bib number, barcode, or item number to know which table the field was from I believe that layout could work well. Knowing who did the change and when is also extremely helpful. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35645 Miranda Nero <mnero@oslri.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mnero@oslri.net -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org