Bugzilla – Attachment 194044 Details for
Bug 41948
Links to subfields on "View subfields" page don't go to the correct tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41948: Fix links to subfield tabs in MARC bibliographic frameworks
Bug-41948-Fix-links-to-subfield-tabs-in-MARC-bibli.patch (text/plain), 2.92 KB, created by
David Cook
on 2026-02-27 04:39:43 UTC
(
hide
)
Description:
Bug 41948: Fix links to subfield tabs in MARC bibliographic frameworks
Filename:
MIME Type:
Creator:
David Cook
Created:
2026-02-27 04:39:43 UTC
Size:
2.92 KB
patch
obsolete
>From f2ffb14bfccfdffaf6fb1310a9e75da7ac34c8cb Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 27 Feb 2026 04:35:38 +0000 >Subject: [PATCH] Bug 41948: Fix links to subfield tabs in MARC bibliographic > frameworks > >This patch fixes the URL fragment used to activate/select the >appropriate tab in the tabs in the "Edit subfield constraints" tabs in >the MARC bibliographic frameworks. > >Test plan: >0. Apply the patch >1. Go to /cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=100&frameworkcode= >2. Click on "a" next to "Personal name" >3. Note that you're taken to the "Edit subfield constraints" page and the "a" tab is >active >4. Press the Back button in the browser and scroll to the far right and click the "Edit" >button >5. Note that you're again taken to the "Edit subfield constraints" page and the "a" >tab is active >6. Note without the patch, you'd be taken to the 0 tab each time >--- > .../prog/en/modules/admin/marc_subfields_structure.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >index ea4a5907ae7..57b805d15ad 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >@@ -375,7 +375,7 @@ > [% FOREACH loo IN loop %] > <tr> > <td >- ><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" >+ ><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&frameworkcode=[% frameworkcode | uri %]#[% loo.tagsubfield | uri %]_panel" > >[% loo.tagsubfield | html %]</a > ></td > > >@@ -405,7 +405,7 @@ > </td> > <td class="actions"> > <a >- href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" >+ href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&frameworkcode=[% frameworkcode | uri %]#[% loo.tagsubfield | uri %]_panel" > class="btn btn-default btn-xs" > ><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a > > >-- >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 41948
: 194044