Bugzilla – Attachment 95007 Details for
Bug 23050
Add hook to add a tab in intranet biblio details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23050: Fix creation of biblio tab's id
Bug-23050-Fix-creation-of-biblio-tabs-id.patch (text/plain), 962 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2019-11-04 13:30:13 UTC
(
hide
)
Description:
Bug 23050: Fix creation of biblio tab's id
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-11-04 13:30:13 UTC
Size:
962 bytes
patch
obsolete
>From 3da0049a79f2fbcb16b38b001c67001d7255ba60 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 30 Sep 2019 10:10:17 +0200 >Subject: [PATCH] Bug 23050: Fix creation of biblio tab's id > >(Too much javascript in my head...) > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > catalogue/detail.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index e86a115c4c..d176f1088e 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -77,7 +77,7 @@ if ( C4::Context->preference('UseKohaPlugins') && > foreach my $tab_plugin (@tab_plugins) { > my @biblio_tabs = $tab_plugin->intranet_catalog_biblio_tab(); > foreach my $tab (@biblio_tabs) { >- $tab->{id} = 'tab-' + $tab->{title}; >+ $tab->{id} = 'tab-' . $tab->{title}; > $tab->{id} =~ s/[^0-9A-Za-z]+/-/g; > push @tabs, $tab, > } >-- >2.24.0
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 23050
:
90337
|
90348
|
91523
|
91524
|
91525
|
93222
|
95004
|
95005
|
95006
| 95007 |
95013
|
95406