You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If You have a list with no pagination
When you sort a list and you delete entry you lost sortDirection and sortField
Error was in the form delete action referer
in ternary you are in else app.request.requestUri was no good i think it's better to use
path('easyadmin', _request_parameters)
`
//BEFORE
{% block delete_form %}
{% set referer = paginator.currentPage == paginator.nbPages and 1 != paginator.currentPage and 1 == paginator.currentPageResults.count
? path('easyadmin', app.request.query|merge({ page: app.request.query.get('page') - 1 }))
: app.request.requestUri
%}
I'm closing this issue because we're starting a new phase in the history of this bundle (see #2059). We've moved it into a new GitHub organization and we need to start from scratch: no past issues, no pending pull requests, etc.
I understand if you are angry or disappointed by this, but we really need to "reset" everything in order to reignite the development of this bundle.
If You have a list with no pagination
When you sort a list and you delete entry you lost sortDirection and sortField
Error was in the form delete action referer
in ternary you are in else app.request.requestUri was no good i think it's better to use
path('easyadmin', _request_parameters)
`
//BEFORE
{% block delete_form %}
{% set referer = paginator.currentPage == paginator.nbPages and 1 != paginator.currentPage and 1 == paginator.currentPageResults.count
? path('easyadmin', app.request.query|merge({ page: app.request.query.get('page') - 1 }))
: app.request.requestUri
%}
//AFTER
{% block delete_form %}
{% set referer = paginator.currentPage == paginator.nbPages and 1 != paginator.currentPage and 1 == paginator.currentPageResults.count
? path('easyadmin', app.request.query|merge({ page: app.request.query.get('page') - 1 }))
: path('easyadmin', _request_parameters)
%}
`
The text was updated successfully, but these errors were encountered: