From 1fbd671529d00af818e76b4305d75319af004abd Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 8 Oct 2018 15:25:50 +0100 Subject: [PATCH] Bug 21456: (QA follow-up) Catch missed case in authorities merge Signed-off-by: Martin Renvoize --- authorities/merge.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authorities/merge.pl b/authorities/merge.pl index 9f725415a5..9bd91b579f 100755 --- a/authorities/merge.pl +++ b/authorities/merge.pl @@ -196,7 +196,7 @@ else { title2 => $recordObj2->authorized_heading, ); if ( $recordObj1->authtypecode ne $recordObj2->authtypecode ) { - my $authority_types = Koha::Authority::Types->search( { authtypecode => { '!=' => '' } }, { order_by => ['authtypecode'] } ); + my $authority_types = Koha::Authority::Types->search( { authtypecode => { '!=' => '' } }, { order_by => ['authtypetext'] } ); $template->param( frameworkselect => $authority_types->unblessed, frameworkcode1 => $recordObj1->authtypecode, -- 2.19.0