Compare commits
3 Commits
v0.1.55
...
767bd4497a
| Author | SHA1 | Date | |
|---|---|---|---|
| 767bd4497a | |||
| 38150bf5e6 | |||
| e4d8c04254 |
@@ -29,6 +29,9 @@ use Symfony\Component\Serializer\Attribute\Groups;
|
||||
new GetCollection(
|
||||
security: "is_granted('catalog.categories.view')",
|
||||
normalizationContext: ['groups' => ['category_type:read']],
|
||||
// Tri par defaut requis par la spec M0 § 4.6 : ordre alphabetique
|
||||
// stable pour alimenter le <MalioSelect> du formulaire Category.
|
||||
order: ['label' => 'ASC'],
|
||||
),
|
||||
new Get(
|
||||
security: "is_granted('catalog.categories.view')",
|
||||
|
||||
Reference in New Issue
Block a user