Bugzilla – Attachment 188454 Details for
Bug 40827
Update plugin wrapper to include context for method="report"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40827: Add context to plugin wrapper for report plugins
Bug-40827-Add-context-to-plugin-wrapper-for-report.patch (text/plain), 2.24 KB, created by
David Cook
on 2025-10-27 01:48:11 UTC
(
hide
)
Description:
Bug 40827: Add context to plugin wrapper for report plugins
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-10-27 01:48:11 UTC
Size:
2.24 KB
patch
obsolete
>From 52f07570ffe3840c1c892c8e951b344e501f4139 Mon Sep 17 00:00:00 2001 >From: Lisette Scheer <lisette@bywatersolutions.com> >Date: Mon, 20 Oct 2025 17:18:36 +0000 >Subject: [PATCH] Bug 40827: Add context to plugin wrapper for report plugins > >This patch updates the plugin wrapper to include the reports menu and have the breadcrumbs list reports instead of admin or tools when method="report" > >To Test: >1. Install the Kitchen Sink Plugin >2. Navigate to Reports->Report plugins->Run Report. >3. Observe the admin menu shows >4. Apply the patch >5. Repeat step 2 >6. Observe the report menu shows and the breadcrumbs are for the report module. >7. Check that the tools and configuration show the appropriate tool/admin context. > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > .../prog/en/includes/wrapper-staff-tool-plugin.inc | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc >index b34eb63d5c..aada2bb82d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wrapper-staff-tool-plugin.inc >@@ -15,6 +15,8 @@ > › > [% IF ( method == 'tool' ) %] > [% t("Tools") | html %] >+ [% ELSIF (method == 'report' ) %] >+ [% t("Reports") | html %] > [% ELSE %] > [% t("Administration") | html %] > [% END %] >@@ -34,6 +36,8 @@ > [% WRAPPER breadcrumb_item %] > [% IF ( method == 'tool' ) %] > <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> >+ [% ELSIF (method == 'report' ) %] >+ <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> > [% ELSE %] > <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> > [% END %] >@@ -58,6 +62,8 @@ > <aside> > [% IF ( method == 'tool' ) %] > [% INCLUDE 'tools-menu.inc' %] >+ [% ELSIF (method == 'report' ) %] >+ [% INCLUDE 'reports-menu.inc' %] > [% ELSE %] > [% INCLUDE 'admin-menu.inc' %] > [% END %] >-- >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 40827
:
188173
| 188454