Bugzilla – Attachment 171310 Details for
Bug 37870
UI/Form/Builder/Item.t and Biblio.t are still failing randomly (cn_source sort)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37870: Tidy
Bug-37870-Tidy.patch (text/plain), 1.59 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-09-11 13:12:46 UTC
(
hide
)
Description:
Bug 37870: Tidy
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-09-11 13:12:46 UTC
Size:
1.59 KB
patch
obsolete
>From 4862293eadd45f34492cb6fda1d70e0f6b53f001 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 11 Sep 2024 10:10:28 -0300 >Subject: [PATCH] Bug 37870: Tidy > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/UI/Form/Builder/Item.pm | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/Koha/UI/Form/Builder/Item.pm b/Koha/UI/Form/Builder/Item.pm >index 1ab305b2fa3..2ace11b4037 100644 >--- a/Koha/UI/Form/Builder/Item.pm >+++ b/Koha/UI/Form/Builder/Item.pm >@@ -244,14 +244,14 @@ sub generate_subfield_form { > my $default_source = > C4::Context->preference("DefaultClassificationSource"); > >- foreach my $class_source (sort {fc($a) cmp fc($b)} keys %$class_sources) { >+ foreach my $class_source ( sort { fc($a) cmp fc($b) } keys %$class_sources ) { > next >- unless $class_sources->{$class_source}->{'used'} >- or ( $value and $class_source eq $value ) >- or ( $class_source eq $default_source ); >+ unless $class_sources->{$class_source}->{'used'} >+ or ( $value and $class_source eq $value ) >+ or ( $class_source eq $default_source ); > push @authorised_values, $class_source; > $authorised_lib{$class_source} = >- $class_sources->{$class_source}->{'description'}; >+ $class_sources->{$class_source}->{'description'}; > } > $value = $default_source if !$value && $prefill_with_default_values; > >-- >2.46.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 37870
:
171242
|
171243
|
171244
|
171283
|
171284
|
171285
|
171307
|
171308
|
171309
| 171310