Skip to main content
1 of 2
Fabian Schmengler
  • 66.1k
  • 25
  • 188
  • 422

The name column of the grid table is populated by Mage_Sales_Model_Resource_Order::_initVirtualGridColumns().

You can rewrite this method to manipulate the format as I decribed here: Magento 1.9.2.0: table "sales_flat_order_grid" contains extra space in customer's name value (just switch $ifNullFirst and $ifNullLast to exchange their position)

Fabian Schmengler
  • 66.1k
  • 25
  • 188
  • 422