[Koha-bugs] [Bug 30327] Sort component parts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 23 03:20:51 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30327

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Patch doesn't apply

--- Comment #28 from David Cook <dcook at prosentient.com.au> ---
Patch doesn't currently apply:

diff --cc Koha/Biblio.pm
index 4a4df845eb,a84b0e32f6..0000000000
--- a/Koha/Biblio.pm
+++ b/Koha/Biblio.pm
@@@ -547,7 -547,7 +547,11 @@@ sub get_marc_components
                  }
              );
          }
++<<<<<<< HEAD
 +        @$components = sort { $searcher->extract_biblionumber($a) <=>
$searcher->extract_biblionumber($b) } @$results if defined($results) &&
@$results;
++=======
+         $components = $results->{biblioserver}->{RECORDS} if
defined($results) && $results->{biblioserver}->{hits};
++>>>>>>> Bug 30327: [Alternate] Add options for sorting components
      }

      return $components // [];

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list