Skip to content

Commit

Permalink
imp: Order tickets' labels by name
Browse files Browse the repository at this point in the history
  • Loading branch information
marien-probesys committed Aug 1, 2024
1 parent 00cfe75 commit 5c99beb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Entity/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class Ticket implements MonitorableEntityInterface, UidEntityInterface

/** @var Collection<int, Label> */
#[ORM\ManyToMany(targetEntity: Label::class, inversedBy: 'tickets')]
#[ORM\OrderBy(['name' => 'ASC'])]
private Collection $labels;

public function __construct()
Expand Down

0 comments on commit 5c99beb

Please sign in to comment.