Bugzilla – Attachment 180904 Details for
Bug 35645
Modification log for bibliographic records and items should only show changed values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35645: Show diff in log viewer
Bug-35645-Show-diff-in-log-viewer.patch (text/plain), 1.99 KB, created by
Andrew Fuerste-Henry
on 2025-04-14 13:10:31 UTC
(
hide
)
Description:
Bug 35645: Show diff in log viewer
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-04-14 13:10:31 UTC
Size:
1.99 KB
patch
obsolete
>From 096bff90e85ce24b6ef7242a9032d6571f62e351 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Mon, 14 Apr 2025 13:07:30 +0000 >Subject: [PATCH] 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 >--- > admin/columns_settings.yml | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 2 ++ > 2 files changed, 4 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index e2293a9930..b1d58286ec 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -2414,6 +2414,8 @@ modules: > columnname: info > - > columnname: interface >+ - >+ columnname: diff > marc-modification-templates: > templatest: > columns: >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >index 23b9c7b876..33879d92f7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >@@ -244,6 +244,7 @@ > <th>Object</th> > <th>Info</th> > <th>Interface</th> >+ <th>Diff</th> > </tr> > </thead> > <tbody> >@@ -361,6 +362,7 @@ > [% END %] > </td> > <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td> >+ <td>[% loopro.diff | html %]</td> > </tr> > [% END %] > </tbody> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35645
:
160266
|
160267
|
180904