Add persistent parameters to filter form as hidden inputs
@@ -171,6 +171,10 @@ file that was distributed with this source code.
<a class="btn" href="{{ admin.generateUrl('list', {filters: 'reset'}) }}">{{ 'link_reset_filter'|trans({}, 'SonataAdminBundle') }}</a>
</div>
+
+ {% for paramKey, paramValue in admin.persistentParameters %}
+ <input type="hidden" name="{{ paramKey }}" value="{{ paramValue }}" />
+ {% endfor %}
</fieldset>
</form>
{% endif %}