File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
src/BootstrapAdminUi/templates/shared/crud Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 35
35
operations: [
36
36
new Create (),
37
37
new Update (),
38
- new Index (grid: BookGrid::class ),
38
+ new Index (),
39
39
new Delete (),
40
40
new BulkDelete (),
41
41
new Show (),
Original file line number Diff line number Diff line change 49
49
"phpstan/phpstan" : " ^1.10" ,
50
50
"phpstan/phpstan-symfony" : " ^1.3" ,
51
51
"phpunit/phpunit" : " ^9.6" ,
52
+ "slevomat/coding-standard" : " <8.23" ,
52
53
"sylius-labs/coding-standard" : " ^4.0" ,
53
54
"symfony/browser-kit" : " ^6.4 || ^7.0" ,
54
55
"symfony/console" : " ^6.4 || ^7.0" ,
Original file line number Diff line number Diff line change 3
3
<div class =" col-12 col-md-auto ms-auto d-print-none" >
4
4
<div class =" btn-list" >
5
5
{% if resources .definition .actionGroups .main is defined %}
6
- {% for action in resources .definition .getEnabledActions (' main' ) %}
6
+ {% for action in resources .definition .getEnabledActions (' main' )| sylius_sort_by( ' position ' ) %}
7
7
{{ sylius_grid_render_action(resources , action , null ) }}
8
8
{% endfor %}
9
9
{% endif %}
Original file line number Diff line number Diff line change 11
11
<div class =" d-flex" >
12
12
{% if data | length > 0 and definition .actionGroups .bulk is defined and definition.getEnabledActions (' bulk' )| length > 0 %}
13
13
<div class =" sylius-grid-nav__bulk grid" >
14
- {% for action in definition.getEnabledActions (' bulk' ) %}
14
+ {% for action in definition.getEnabledActions (' bulk' )| sylius_sort_by( ' position ' ) %}
15
15
{{ sylius_grid_render_bulk_action(resources , action , null ) }}
16
16
{% endfor %}
17
17
</div >
You can’t perform that action at this time.
0 commit comments