fix tax rules issue

This commit is contained in:
Etienne Roudeix
2013-11-28 15:31:09 +01:00
parent bc9da10d8c
commit 81fa5a291c
2 changed files with 2 additions and 1 deletions

View File

@@ -1110,7 +1110,7 @@ class ProductController extends AbstractCrudController
$this->dispatch(TheliaEvents::PRODUCT_COMBINATION_GENERATION, $event);
// 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
$this->redirect($changeForm->getSuccessUrl());

View File

@@ -38,6 +38,7 @@ class TaxRuleQuery extends BaseTaxRuleQuery
->find()
)
->withColumn(TaxRuleCountryTableMap::POSITION, self::ALIAS_FOR_TAX_RULE_COUNTRY_POSITION)
->orderBy(self::ALIAS_FOR_TAX_RULE_COUNTRY_POSITION, Criteria::ASC);
;
return $search->find();