Bugzilla – Attachment 175499 Details for
Bug 38715
Edit MARC record page has incomplete breadcrumbs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38715: Fix Breadcrumbs on Edit MARC Record Page
Bug-38715-Fix-Breadcrumbs-on-Edit-MARC-Record-Page.patch (text/plain), 2.33 KB, created by
Peter Vashchuk
on 2024-12-16 15:48:28 UTC
(
hide
)
Description:
Bug 38715: Fix Breadcrumbs on Edit MARC Record Page
Filename:
MIME Type:
Creator:
Peter Vashchuk
Created:
2024-12-16 15:48:28 UTC
Size:
2.33 KB
patch
obsolete
>From 29f0c70cde1c0d8149d51d9f469445201b2e80fd Mon Sep 17 00:00:00 2001 >From: Petro Vashchuk <stalkernoid@gmail.com> >Date: Mon, 16 Dec 2024 17:42:47 +0200 >Subject: [PATCH] Bug 38715: Fix Breadcrumbs on Edit MARC Record Page > >The link in the breadcrumbs that is supposed to take >you to the record you're editing instead redirects >to the edit page itself. This patch fixes this problem. > >To reproduce: >1. Go to any biblio and edit the record, click the >book name in breadcrumbs on top of the edit page, >it's gonna return you back to this same page. >2. Apply the patch. >3. Repeat step 1, it should properly return you >to the biblo page. >--- > .../prog/en/modules/cataloguing/addbiblio.tt | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 799a26e6c8..14861566b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -818,10 +818,18 @@ $(document).ready(function(){ > [% WRAPPER breadcrumb_item %] > <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a> > [% END %] >- [% WRAPPER breadcrumb_item bc_active= 1 %] >- [% IF ( biblionumber ) %] >- <span>[% tp('Editing MARC record titled:', "Editing") | html %] [% title | html %] (Record number [% biblionumber | html %])</span> >- [% ELSE %] >+ [% IF ( biblionumber ) %] >+ [% WRAPPER breadcrumb_item %] >+ <span>Editing <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"> >+ <em>[% title | html %]</em> (Record number [% biblionumber | html %])</a> >+ [% IF ( author ) %] by [% author | html %][% END %] >+ </span> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>MARC record <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]"></span> >+ [% END %] >+ [% ELSE %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] > [% IF ( circborrowernumber ) %] > <span>Add MARC record (fast cataloging)</span> > [% ELSE %] >-- >2.47.1
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 38715
:
175498
| 175499 |
175584