Bug 12841: aqorders fields should not be mapped
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 26 Aug 2014 08:50:22 +0000 (10:50 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 3 Dec 2014 14:42:28 +0000 (11:42 -0300)
Bug 5336 introduced some code which should have been introduced by bug
7294.
Since the idea behind bug 7294 has been abandoned (map the aqorders
fields), the code can be removed.

Test plan:
Verify that Koha does not allow you to map the aqorders fields with a
MARC subfield.
Verify there is no regression on adding/updating an order.

Signed-off-by: Zeno Tajoli <z.tajoli@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
acqui/addorder.pl

index a8e71a5..f5508a2 100755 (executable)
@@ -248,13 +248,6 @@ if ( $orderinfo->{quantity} ne '0' ) {
                 "biblio.copyrightdate"        => $$orderinfo{publicationyear} ? $$orderinfo{publicationyear}: "",
                 "biblioitems.itemtype"        => $$orderinfo{itemtype} ? $$orderinfo{itemtype} : "",
                 "biblioitems.editionstatement"=> $$orderinfo{editionstatement} ? $$orderinfo{editionstatement} : "",
-                "aqorders.branchcode"         => $$orderinfo{branchcode} ? $$orderinfo{branchcode} : "",
-                "aqorders.quantity"           => $$orderinfo{quantity} ? $$orderinfo{quantity} : "",
-                "aqorders.listprice"          => $$orderinfo{listprice} ? $$orderinfo{listprice} : "",
-                "aqorders.uncertainprice"     => $$orderinfo{uncertainprice} ? $$orderinfo{uncertainprice} : "",
-                "aqorders.rrp"                => $$orderinfo{rrp} ? $$orderinfo{rrp} : "",
-                "aqorders.ecost"              => $$orderinfo{ecost} ? $$orderinfo{ecost} : "",
-                "aqorders.discount"           => $$orderinfo{discount} ? $$orderinfo{discount} : "",
             });
 
         # create the record in catalogue, with framework ''