Skip to content

Commit f7c1d62

Browse files
andreashagerAndreas Hager
authored andcommitted
[BUGFIX] Limit tax classes to current order
Currently all tax classes from all orders are loaded instead of the specifc ones from current oder item only. This breaks expansion of TYPO3 IRRE element if you have a lot of orders.
1 parent 1ddf22e commit f7c1d62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Configuration/TCA/tx_cart_domain_model_order_product.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
'renderType' => 'selectSingle',
155155
'readOnly' => 1,
156156
'foreign_table' => 'tx_cart_domain_model_order_taxclass',
157+
'foreign_table_where' => 'AND {#tx_cart_domain_model_order_taxclass}.{#item} = ###REC_FIELD_item###',
157158
'minitems' => 1,
158159
'maxitems' => 1,
159160
'appearance' => [

0 commit comments

Comments
 (0)