Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

21 lines
523B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Ticket;
  3. use Lc\CaracoleBundle\Repository\SectionStoreTrait;
  4. use Lc\SovBundle\Model\User\UserInterface;
  5. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  6. use Lc\SovBundle\Repository\Ticket\TicketStore as SovTicketStore;
  7. class TicketStore extends SovTicketStore
  8. {
  9. use SectionStoreTrait;
  10. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  11. {
  12. $query->filterBySection($this->section);
  13. return $query;
  14. }
  15. }