Skip to content

Commit

Permalink
Merge pull request #8 from myekaterynenko/develop
Browse files Browse the repository at this point in the history
[Github] Merge public Github commits
  • Loading branch information
vpelipenko committed Dec 26, 2014
2 parents 9ec1d8f + beb5e00 commit f62afbb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct(
*/
public function render(\Magento\Framework\Object $row)
{
if ($data = (string)$row->getData($this->getColumn()->getIndex())) {
if ($data = (string)$this->_getValue($row)) {
$currency_code = $this->_getCurrencyCode($row);
$data = floatval($data) * $this->_getRate($row);
$sign = (bool)(int)$this->getColumn()->getShowNumberSign() && $data > 0 ? '+' : '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct(
*/
public function render(\Magento\Framework\Object $row)
{
if ($data = $row->getData($this->getColumn()->getIndex())) {
if ($data = $this->_getValue($row)) {
$currencyCode = $this->_getCurrencyCode($row);

if (!$currencyCode) {
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Cms/Ui/DataProvider/Page/Row/Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Actions implements RowInterface
/**
* Url path
*/
const URL_PATH = 'adminhtml/cms_page/edit';
const URL_PATH = 'cms/page/edit';

/**
* @var UrlBuilder
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Email/Model/Resource/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function checkCodeUsage(\Magento\Email\Model\Template $template)
protected function _beforeSave(AbstractModel $object)
{
if ($object->isObjectNew()) {
$object->setCreatedAt($this->dateTime->formatDate(true));
$object->setAddedAt($this->dateTime->formatDate(true));
}
$object->setModifiedAt($this->dateTime->formatDate(true));
$object->setTemplateType((int)$object->getTemplateType());
Expand Down

0 comments on commit f62afbb

Please sign in to comment.