Allow to search a customer in the default template if $search is not null

This commit is contained in:
Guillaume Barral
2014-06-17 11:19:16 +02:00
parent 7377af6029
commit 816a9b81ca

View File

@@ -123,7 +123,7 @@
</thead>
<tbody>
{loop name="customer_list" type="customer" current="false" visible="*" order=$customer_order backend_context="1" page=$page limit=#max_displayed_customers#}
{loop name="customer_list" type="customer" current="false" visible="*" order=$customer_order backend_context="1" page=$page limit=#max_displayed_customers# search_term=$search search_in="ref,firstname,lastname,email"}
{assign "lastOrderDate" ''}
{assign "lastOrderAmount" ''}
{assign "lastOrderCurrency" ''}