Bugzilla – Attachment 132506 Details for
Bug 24875
Remove extra punctuation from tools home page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24975: Fix bugs
Bug-24975-Fix-bugs.patch (text/plain), 1.94 KB, created by
Martin Renvoize
on 2022-03-30 06:33:03 UTC
(
hide
)
Description:
Bug 24975: Fix bugs
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2022-03-30 06:33:03 UTC
Size:
1.94 KB
patch
obsolete
>From e627cbae79dbfe10ec2b27745c14769d118d11cb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 29 Mar 2022 10:54:49 +0200 >Subject: [PATCH] Bug 24975: Fix bugs > >https://bugs.koha-community.org/show_bug.cgi?id=24875 >--- > Koha/I18N.pm | 6 +++--- > Koha/ItemType.pm | 2 +- > admin/itemtypes.pl | 1 - > 3 files changed, 4 insertions(+), 5 deletions(-) > >diff --git a/Koha/I18N.pm b/Koha/I18N.pm >index ac56b44da0..1de5b60601 100644 >--- a/Koha/I18N.pm >+++ b/Koha/I18N.pm >@@ -254,11 +254,11 @@ sub db_t { > my @targets = $rs->search( > { > 'group' => $group, >- 'l10n_target.language' => $language, >+ 'l10n_targets.language' => $language, > }, > { >- join => 'l10n_target', >- prefetch => 'l10n_target', >+ join => 'l10n_targets', >+ prefetch => 'l10n_targets', > result_class => 'DBIx::Class::ResultClass::HashRefInflator', > }, > ); >diff --git a/Koha/ItemType.pm b/Koha/ItemType.pm >index 9e66529671..705a2a7cd2 100644 >--- a/Koha/ItemType.pm >+++ b/Koha/ItemType.pm >@@ -46,7 +46,7 @@ Returns a localized string for the Koha::ItemType description field. > > sub translated_description { > my ( $self ) = @_; >- return dt_t('itemtype', $self->translation_key); >+ return db_t('itemtype', $self->translation_key); > } > > =head3 translation_key >diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl >index 6063348b9e..2fc4b067c2 100755 >--- a/admin/itemtypes.pl >+++ b/admin/itemtypes.pl >@@ -66,7 +66,6 @@ if ( $op eq 'add_form' ) { > is_a_parent => $itemtype ? Koha::ItemTypes->search({parent_type=>$itemtype_code})->count : 0, > imagesets => $imagesets, > searchcategory => $searchcategory, >- branches_loop => \@branches_loop, > ); > } elsif ( $op eq 'add_validate' ) { > my $is_a_modif = $input->param('is_a_modif'); >-- >2.20.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 24875
:
100720
|
100910
|
101351
|
101523
|
132495
|
132496
|
132497
|
132498
|
132499
|
132500
|
132501
|
132502
|
132503
|
132504
|
132505
|
132506
|
132507