FEATURE [repository] implement filter logic

This commit is contained in:
2023-07-12 15:17:03 +02:00
parent cc97199c5d
commit e0758215ba
4 changed files with 32 additions and 18 deletions

View File

@@ -255,6 +255,7 @@ class Address implements TrackCreationInterface, TrackUpdateInterface
public function syncWithReference(AddressReference $addressReference): Address
{
dump($addressReference);
$this
->setPoint($addressReference->getPoint())
->setPostcode($addressReference->getPostcode())

View File

@@ -11,6 +11,7 @@ declare(strict_types=1);
namespace Chill\MainBundle\Templating\Listing;
use Chill\MainBundle\Entity\User;
use Chill\MainBundle\Form\Type\Listing\FilterOrderType;
use DateTimeImmutable;
use Symfony\Component\Form\Extension\Core\Type\FormType;
@@ -134,7 +135,7 @@ class FilterOrderHelper
return $this->userPickers;
}
public function getUserPickerData(string $name): array
public function getUserPickerData(string $name)
{
return $this->getFormData()['user_pickers'][$name];
}