Merge pull request #381 from tacman/patch-1

add raw filter so sql is formatted
This commit is contained in:
Toni Uebernickel 2016-01-08 16:40:40 +01:00
commit e0a35f0189

View file

@ -112,7 +112,7 @@
<tr> <tr>
<td> <td>
<a name="propel-query-{{ i }}" ></a> <a name="propel-query-{{ i }}" ></a>
<code>{{ query.sql|format_sql }}</code> <code>{{ query.sql|format_sql|raw }}</code>
{% if app.request.query.has('query') and app.request.query.get('query') == i %} {% if app.request.query.has('query') and app.request.query.get('query') == i %}
<div class="SQLExplain"> <div class="SQLExplain">
{% render controller('PropelBundle:Panel:explain', { {% render controller('PropelBundle:Panel:explain', {