Pārlūkot izejas kodu

[Backend] Tickets : enlever filtre section #562

develop
Guillaume Bourgeois pirms 2 gadiem
vecāks
revīzija
15f9bb2295
2 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. +0
    -2
      Controller/Ticket/TicketAdminController.php
  2. +1
    -1
      Model/Ticket/TicketModel.php

+ 0
- 2
Controller/Ticket/TicketAdminController.php Parādīt failu

@@ -16,7 +16,6 @@ abstract class TicketAdminController extends SovTicketAdminController
{
return $this->getTicketContainer()
->getFactory()
->setSection($this->getSectionCurrent())
->setMerchant($this->getMerchantCurrent())
->create();
}
@@ -25,7 +24,6 @@ abstract class TicketAdminController extends SovTicketAdminController
{
return $this->getTicketContainer()->getFieldDefinition()
->setMerchant($this->getMerchantCurrent())
->setSection($this->getSectionCurrent())
->getFields($pageName);
}


+ 1
- 1
Model/Ticket/TicketModel.php Parādīt failu

@@ -13,7 +13,7 @@ use Lc\SovBundle\Model\Ticket\TicketModel as SovTicketModel;
/**
* @ORM\MappedSuperclass()
*/
abstract class TicketModel extends SovTicketModel implements FilterSectionInterface, FilterMerchantInterface
abstract class TicketModel extends SovTicketModel implements FilterMerchantInterface
{
const TYPE_PRODUCT_UNAVAILABLE = 'product-unavailable';
const TYPE_PRODUCT_ERROR = 'product-error';

Notiek ielāde…
Atcelt
Saglabāt