From 3929ce91a8751dcbf6363b0eeacc59af0d4ecab6 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 Content-Type: text/plain; charset=utf-8 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 --- 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 6694f43288..1677aab372 100644 --- a/Koha/Acquisition/Bookseller.pm +++ b/Koha/Acquisition/Bookseller.pm @@ -86,7 +86,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 ace46b86ed..e4d24a36d4 100644 --- a/t/db_dependent/Bookseller.t +++ b/t/db_dependent/Bookseller.t @@ -767,7 +767,7 @@ sub field_filter { for my $field ( 'bookselleremail', 'booksellerfax', - 'booksellerurl', 'othersupplier', + 'booksellerurl', 'currency', 'invoiceprice', 'listprice', 'contacts' ) -- 2.11.0