Koha/t/db_dependent/Acquisition
Jonathan Druart 64855886b8
Bug 24294: Add default value support for control fields in ACQ framework
When trying to add an order using the ACQ framework with a 008@ tag,
Koha explodes:

Control fields (generally, just tags below 010) do not have subfields,
use data() at /home/vagrant/kohaclone/C4/Acquisition.pm line 3272.

Test plan:
Set a default value for a control field in the ACQ framework
Turn on UseACQFrameworkForBiblioRecords
Create a new order from a new record
The default value should be displayed
Save
=> No crash

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-26 20:37:00 +00:00
..
CancelReceipt.t Bug 21206: Replace C4::Items::GetItem 2019-02-26 13:24:07 +00:00
close_reopen_basket.t
FillWithDefaultValues.t Bug 24294: Add default value support for control fields in ACQ framework 2020-02-26 20:37:00 +00:00
GetBasketAsCSV.t
GetBasketsInfosByBookseller.t Bug 21364: (follow-up) Check for standing status and uncertain prices 2019-04-30 12:45:42 +00:00
GetOrdersByBiblionumber.t
Invoices.t Bug 20144: [sql_modes] Shorten aqbudgets.budget_code 2018-02-13 13:58:52 -03:00
NewOrder.t Bug 21817: Fix 2 failing tests 2019-01-02 20:18:30 +00:00
OrderFromSubscription.t
OrderUsers.t
populate_order_with_prices.t Bug 23523: unitprice tax column values are not populated if entered upon ordering 2019-11-05 08:11:29 +00:00
StandingOrders.t Bug 17667: Add tests 2020-01-20 14:03:50 +00:00
TransferOrder.t Bug 21205: Replace C4::Items::GetOrderFromItemnumber calls 2018-11-08 20:47:16 +00:00