From b1122cf0f3e1b242a94b4feaca1ff0596d117585 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Mar 2020 09:40:04 +0100 Subject: [PATCH] Bug 18177: remove aqbooksellers.othersupplier This patchset removes some columns from the aqbooksellers table that are not used: * booksellerfax * booksellerurl * bookselleremail * othersupplier * currency The first 3 ones are certainly leftover from bug 10402. Test plan: For each for these fields you will make sure that they cannot be edited from the interface. Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- Koha/Acquisition/Bookseller.pm | 1 - t/db_dependent/Bookseller.t | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm index b3ac6efbdc..6b2b248f3b 100644 --- a/Koha/Acquisition/Bookseller.pm +++ b/Koha/Acquisition/Bookseller.pm @@ -89,7 +89,6 @@ sub to_api_mapping { bookselleremail => undef, booksellerurl => undef, currency => undef, - othersupplier => undef, listprice => 'list_currency', invoiceprice => 'invoice_currency', gstreg => 'gst', diff --git a/t/db_dependent/Bookseller.t b/t/db_dependent/Bookseller.t index f3e752cc1b..9e3aae8dcf 100644 --- a/t/db_dependent/Bookseller.t +++ b/t/db_dependent/Bookseller.t @@ -766,7 +766,7 @@ sub field_filter { for my $field ( 'bookselleremail', 'booksellerfax', - 'booksellerurl', 'othersupplier', + 'booksellerurl', 'currency', 'invoiceprice', 'listprice', 'contacts' ) -- 2.39.5