Bugzilla – Attachment 132504 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: Add to Koha::UI::Form::Builder::Item
Bug-24975-Add-to-KohaUIFormBuilderItem.patch (text/plain), 1.61 KB, created by
Martin Renvoize
on 2022-03-30 06:32:55 UTC
(
hide
)
Description:
Bug 24975: Add to Koha::UI::Form::Builder::Item
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2022-03-30 06:32:55 UTC
Size:
1.61 KB
patch
obsolete
>From 37fac7ba637a30709bfc808ca2582efadb1f20e5 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 28 Mar 2022 15:54:38 +0100 >Subject: [PATCH] Bug 24975: Add to Koha::UI::Form::Builder::Item > >https://bugs.koha-community.org/show_bug.cgi?id=24875 >--- > Koha/UI/Form/Builder/Item.pm | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/Koha/UI/Form/Builder/Item.pm b/Koha/UI/Form/Builder/Item.pm >index 5efe6ed796..2ce8ad6c3b 100644 >--- a/Koha/UI/Form/Builder/Item.pm >+++ b/Koha/UI/Form/Builder/Item.pm >@@ -23,6 +23,7 @@ use C4::Koha qw( GetAuthorisedValues ); > use C4::ClassSource qw( GetClassSources ); > > use Koha::DateUtils qw( dt_from_string ); >+use Koha::I18N; > use Koha::Libraries; > > =head1 NAME >@@ -206,16 +207,16 @@ sub generate_subfield_form { > push @authorised_values, ""; > my $itemtypes; > if ($branch_limit) { >- $itemtypes = Koha::ItemTypes->search_with_localization( >+ $itemtypes = Koha::ItemTypes->search( > { branchcode => $branch_limit } ); > } > else { >- $itemtypes = Koha::ItemTypes->search_with_localization; >+ $itemtypes = Koha::ItemTypes->search; > } > while ( my $itemtype = $itemtypes->next ) { > push @authorised_values, $itemtype->itemtype; > $authorised_lib{ $itemtype->itemtype } = >- $itemtype->translated_description; >+ db_t('itemtype', $itemtype->translation_key); > } > > if (!$value && $biblionumber) { >-- >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