-
-
Couldn't load subscription status.
- Fork 452
Fixed PR #523, prevent unnecessary saving of status history when orde… #2042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1895,8 +1895,10 @@ public function getStatusHistoryCollection($reload = false) | |
| ->setOrder('entity_id', 'desc'); | ||
|
|
||
| if ($this->getId()) { | ||
| /** @var Mage_Sales_Model_Order_Status_History $status */ | ||
| foreach ($this->_statusHistory as $status) { | ||
| $status->setOrder($this); | ||
| $status->setDataChanges(false); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it seems we need to add this setDataChanges calls in a lot of places, but doesn't it mean we should modify some Abstract or something like that to solve this issue in a more general way? |
||
| } | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.