fix tax rules issue
This commit is contained in:
@@ -1110,7 +1110,7 @@ class ProductController extends AbstractCrudController
|
|||||||
$this->dispatch(TheliaEvents::PRODUCT_COMBINATION_GENERATION, $event);
|
$this->dispatch(TheliaEvents::PRODUCT_COMBINATION_GENERATION, $event);
|
||||||
|
|
||||||
// Log object modification
|
// Log object modification
|
||||||
$this->adminLogAppend(sprintf("Combination generation for product reference %s", $event->getProduct()->getRef()));
|
$this->adminLogAppend($this->resourceCode, AccessManager::CREATE, sprintf("Combination generation for product reference %s", $event->getProduct()->getRef()));
|
||||||
|
|
||||||
// Redirect to the success URL
|
// Redirect to the success URL
|
||||||
$this->redirect($changeForm->getSuccessUrl());
|
$this->redirect($changeForm->getSuccessUrl());
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ class TaxRuleQuery extends BaseTaxRuleQuery
|
|||||||
->find()
|
->find()
|
||||||
)
|
)
|
||||||
->withColumn(TaxRuleCountryTableMap::POSITION, self::ALIAS_FOR_TAX_RULE_COUNTRY_POSITION)
|
->withColumn(TaxRuleCountryTableMap::POSITION, self::ALIAS_FOR_TAX_RULE_COUNTRY_POSITION)
|
||||||
|
->orderBy(self::ALIAS_FOR_TAX_RULE_COUNTRY_POSITION, Criteria::ASC);
|
||||||
;
|
;
|
||||||
|
|
||||||
return $search->find();
|
return $search->find();
|
||||||
|
|||||||
Reference in New Issue
Block a user