Bugzilla – Attachment 100865 Details for
Bug 18177
Remove unused columns in aqbooksellers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18177: remove aqbooksellers.currency
Bug-18177-remove-aqbooksellerscurrency.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2020-03-17 09:00:35 UTC
(
hide
)
Description:
Bug 18177: remove aqbooksellers.currency
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-17 09:00:35 UTC
Size:
1.27 KB
patch
obsolete
>From 2c4bcaf08de99c253bfd9e2f9716071f57321ef8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 17 Mar 2020 09:53:04 +0100 >Subject: [PATCH] Bug 18177: remove aqbooksellers.currency > >--- > Koha/Acquisition/Bookseller.pm | 1 - > t/db_dependent/Bookseller.t | 5 +---- > 2 files changed, 1 insertion(+), 5 deletions(-) > >diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm >index a96806bb50..ccf6aa1607 100644 >--- a/Koha/Acquisition/Bookseller.pm >+++ b/Koha/Acquisition/Bookseller.pm >@@ -82,7 +82,6 @@ on the API. > > sub to_api_mapping { > return { >- currency => undef, > listprice => 'list_currency', > invoiceprice => 'invoice_currency', > gstreg => 'gst', >diff --git a/t/db_dependent/Bookseller.t b/t/db_dependent/Bookseller.t >index 3bb98bdd6f..c5d52841f2 100644 >--- a/t/db_dependent/Bookseller.t >+++ b/t/db_dependent/Bookseller.t >@@ -765,10 +765,7 @@ $schema->storage->txn_rollback(); > sub field_filter { > my ($struct) = @_; > >- for my $field ( >- 'currency', 'invoiceprice', >- 'listprice', 'contacts' >- ) >+ for my $field ( qw(invoiceprice listprice contacts) ) > { > > if ( grep { /^$field$/ } keys %$struct ) { >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18177
:
100861
|
100862
|
100863
|
100864
|
100865
|
100866
|
100867
|
100868
|
100869
|
100870
|
100871
|
100872
|
100873
|
100874
|
101612
|
101687
|
101688
|
101689
|
101690
|
101691
|
101692
|
101693
|
101694
|
101958
|
101959
|
101960
|
101961
|
101962
|
101963
|
101964
|
101965
|
102011