Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.49 KB | None | 0 0
  1. <file name="admin/model/sale/order.php">
  2. <operation>
  3. <search position="replace"><![CDATA[
  4. $sql .= " AND CONCAT(o.firstname, ' ', o.lastname) LIKE '%" . $this->db->escape($data['filter_customer']) . "%'";
  5. ]]></search>
  6. <add><![CDATA[
  7.  
  8. $sql .= " AND CONCAT(o.firstname, ' ', o.lastname, ' ', REPLACE(o.telephone, ' ', ''), ' ', o.email, ' ', o.custom_field, ' ', REPLACE(o.shipping_postcode, ' ', '')) LIKE '%" . $this->db->escape($data['filter_customer']) . "%'";
  9. ]]></add>
  10. </operation>
  11. </file>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement