Fix viewSearch template on no result case with extraDisplayedColumns defined

This commit is contained in:
Benjamin Renard 2014-10-27 12:04:56 +01:00
parent 7a1141fe7c
commit daf0715356

View file

@ -107,7 +107,9 @@
</tr>
{foreachelse}
<tr class='LSobject-list'>
<td colspan='3' class='LSobject-list-without-result'>{$LSsearch->label_no_result}</td>
<td colspan='{if $LSsearch->extraDisplayedColumns}{count($LSsearch->extraDisplayedColumns)+3}{else}3{/if}' class='LSobject-list-without-result'>
{$LSsearch->label_no_result}
</td>
</tr>
{/foreach}
</table>