https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36698

--- Comment #9 from David Nind <[email protected]> ---
Really like this!

Thanks Martin.

David

Testing notes (using KTD):
1. Enable HoldsLog system preference.
2. Actions to generate log entries:
   - Place a hold (39999000011418 for Mary Burton)
   - Suspend the hold
   - Resume the hold
   - Delete the hold
   - Place a hold
   - Check in so hold waiting
   - Fill the hold
   - Modify an item for a record (for example, change the location, 
     change the barcode)
3. Go to the log viewer (Tools > Additional tools > Log viewer)
4. Show the Diff column (Columns > Diff).
5. Before the patch the Diff column shows a string of text. 

Examples:

Modify an item:
{"D":{"barcode":{"O":"39999000011418","N":"399991"},"datelastseen":{"N":"2026-03-06
17:09:00","O":"2026-03-06 17:09:50"},"timestamp":{"N":"2026-03-06
17:10:06","O":"2026-03-06
17:09:50"},"permanent_location":{"N":"FIC","O":"GEN"},"location":{"N":"FIC","O":"GEN"},"cn_sort":{"O":"_","N":""},"cn_source":{"O":null,"N":"ddc"}}}

Fill a hold:
{"D":{"found":{"O":"W","N":"F"},"timestamp":{"O":"2026-03-06
17:09:28","N":"2026-03-06 17:09:36"}}}

Cancel a hold:
{"D":{"cancellation_reason":{"N":"NOT_FOUND","O":null},"priority":{"O":1,"N":0},"cancellationdate":{"O":null,"N":"2026-03-06
17:09:08"}}}

6. After applying the patches, restart_all, and hard refresh the log viewer
page.
7. Now there is a nicely formatted table showing the before and after values
for data that has changed (using red and green highlighting) - see the images
for examples.

-- 
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/

Reply via email to