Bugzilla – Attachment 150836 Details for
Bug 33607
Show framework on record details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[ALTERNATE PATCH] Bug 33607: Handle default framework
Bug-33607-Handle-default-framework.patch (text/plain), 976 bytes, created by
Jonathan Druart
on 2023-05-09 10:05:31 UTC
(
hide
)
Description:
[ALTERNATE PATCH] Bug 33607: Handle default framework
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-05-09 10:05:31 UTC
Size:
976 bytes
patch
obsolete
>From 8b727f0c812d59443ed833ceac5c9a733267d5d8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 9 May 2023 12:04:33 +0200 >Subject: [PATCH] Bug 33607: Handle default framework > >--- > Koha/Template/Plugin/Frameworks.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/Template/Plugin/Frameworks.pm b/Koha/Template/Plugin/Frameworks.pm >index e2d9572399b..01305455be3 100644 >--- a/Koha/Template/Plugin/Frameworks.pm >+++ b/Koha/Template/Plugin/Frameworks.pm >@@ -23,6 +23,7 @@ use Template::Plugin; > use base qw( Template::Plugin ); > > use Koha::BiblioFrameworks; >+use Koha::I18N qw( __ ); > > =head1 NAME > >@@ -47,7 +48,7 @@ is not found > sub GetName { > my ( $self, $frameworkcode ) = @_; > return q{} unless defined $frameworkcode; >- return q{} if $frameworkcode eq q{}; >+ return __("Default") if $frameworkcode eq q{}; > > my $f = Koha::BiblioFrameworks->find($frameworkcode); > >-- >2.25.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 33607
:
150212
|
150238
|
150574
|
150578
|
150579
|
150836
|
150860
|
150861