Bugzilla – Attachment 184594 Details for
Bug 40488
"Public lists" breadcrumb link doesn't work when editing public list in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40488: Fix breadcrumb link to public lists when editing a list in the staff interface
Bug-40488-Fix-breadcrumb-link-to-public-lists-when.patch (text/plain), 2.02 KB, created by
Owen Leonard
on 2025-07-24 14:16:12 UTC
(
hide
)
Description:
Bug 40488: Fix breadcrumb link to public lists when editing a list in the staff interface
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-07-24 14:16:12 UTC
Size:
2.02 KB
patch
obsolete
>From 294bb0f3d1172500ae72f00ca39814c0812b0ada Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 24 Jul 2025 14:08:15 +0000 >Subject: [PATCH] Bug 40488: Fix breadcrumb link to public lists when editing a > list in the staff interface > >This patch revises the breadcrumbs in the staff interface lists template >so that the correct link is shown when editing or viewing a public list. > >To test, apply the patch and go to Lists in the staff interface. > >- Create a public list >- Go to the list of public lists >- Click to view your newly created public list >- The breadcrumb menu should show Lists -> Public lists -> Contents of > [list name] >- The link to public lists should work correctly. >- Perform the same check when editing your public list. >- Check the viewing and editing of a private list to make sure no > breadcrumb errors were introduced. > >Sponsored-by: Athens County Public Libraries >--- > .../prog/en/modules/virtualshelves/shelves.tt | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index 05052171c43..cf5f68b3e19 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -101,14 +101,8 @@ > [% END %] > [% END %] > [% ELSIF shelf AND shelf.is_public %] >- [% IF op == 'view' %] >- [% WRAPPER breadcrumb_item %] >- <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&public=1">Public lists</a> >- [% END %] >- [% ELSE %] >- [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Public lists</span> >- [% END %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&public=1">Public lists</a> > [% END %] > [% 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 40488
:
184594
|
184609
|
184611