mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Fix app.request in grid and breadcrumbs
This commit is contained in:
parent
999f15aedc
commit
f447232bd2
2 changed files with 2 additions and 2 deletions
|
|
@ -5,6 +5,6 @@
|
|||
{{ breadcrumbs([
|
||||
{ name: 'sylius.ui.dashboard', url: path('sylius_admin_dashboard'), active: false },
|
||||
{ name: 'sylius.ui.payments'|trans, url: path('sylius_admin_payment_index'), active: false },
|
||||
{ name: configuration.request.get('paymentId'), active: true },
|
||||
{ name: configuration.request.attributes.get('paymentId'), active: true },
|
||||
{ name: 'sylius.ui.payment_requests'|trans, active: true },
|
||||
]) }}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ sylius_grid:
|
|||
channel: "expr:service('sylius.context.channel').getChannel()"
|
||||
taxon: "expr:notFoundOnNull(service('sylius.repository.taxon').findOneBySlug($slug, service('sylius.context.locale').getLocaleCode()))"
|
||||
locale: "expr:service('sylius.context.locale').getLocaleCode()"
|
||||
sorting: "expr:service('request_stack').getCurrentRequest().get('sorting', [])"
|
||||
sorting: "expr:service('request_stack').getCurrentRequest().query.all('sorting')"
|
||||
includeAllDescendants: "expr:parameter('sylius_shop.product_grid.include_all_descendants')"
|
||||
sorting:
|
||||
position: asc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue