Bugzilla – Attachment 105683 Details for
Bug 25701
Facets display in random order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25701: Remove sort on removed field
Bug-25701-Remove-sort-on-removed-field.patch (text/plain), 847 bytes, created by
Nick Clemens
on 2020-06-10 11:00:51 UTC
(
hide
)
Description:
Bug 25701: Remove sort on removed field
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2020-06-10 11:00:51 UTC
Size:
847 bytes
patch
obsolete
>From 7c34b47766a559a39de264e5beabd922c188e0a7 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 10 Jun 2020 10:58:25 +0000 >Subject: [PATCH] Bug 25701: Remove sort on removed field > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/Search.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 9d4f64e268..8997dba064 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -599,7 +599,6 @@ sub getRecords { > foreach my $f (@facets_loop) { > $f->{facets} = [ sort { uc($a->{facet_label_value}) cmp uc($b->{facet_label_value}) } @{ $f->{facets} } ]; > } >- @facets_loop = sort {defined $a->{expand} && defined $b->{expand} && $a->{expand} cmp $b->{expand}} @facets_loop; > } > > return ( undef, $results_hashref, \@facets_loop ); >-- >2.11.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 25701
:
105679
|
105681
|
105682
| 105683