Browse Source

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 <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.05.x
Jonathan Druart 4 years ago
committed by Martin Renvoize
parent
commit
b1122cf0f3
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 1
      Koha/Acquisition/Bookseller.pm
  2. 2
      t/db_dependent/Bookseller.t

1
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',

2
t/db_dependent/Bookseller.t

@ -766,7 +766,7 @@ sub field_filter {
for my $field (
'bookselleremail', 'booksellerfax',
'booksellerurl', 'othersupplier',
'booksellerurl',
'currency', 'invoiceprice',
'listprice', 'contacts'
)

Loading…
Cancel
Save