Skip to content

Commit

Permalink
Added install script to fix middlename bug for existing orders. Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Bramstång committed Jul 26, 2017
1 parent dd000ad commit 7cacf62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/community/Webbhuset/Bugfix/etc/config.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<config>
<modules>
<Webbhuset_Bugfix>
<version>1.0.1</version>
<version>1.0.2</version>
</Webbhuset_Bugfix>
</modules>
<global>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
Mage::getModel('sales/order')->getResource()->updateGridRecords(
Mage::getResourceModel('sales/order_collection')->getAllIds()
);

0 comments on commit 7cacf62

Please sign in to comment.