mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
refactor search for using search by pertinence
This commit is contained in:
@@ -9,7 +9,10 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
* Person Phones
|
||||
*
|
||||
* @ORM\Entity
|
||||
* @ORM\Table(name="chill_person_phone")
|
||||
* @ORM\Table(name="chill_person_phone",
|
||||
* indexes={
|
||||
* @ORM\Index(name="phonenumber", columns={"phonenumber"})
|
||||
* })
|
||||
*/
|
||||
class PersonPhone
|
||||
{
|
||||
@@ -107,7 +110,7 @@ class PersonPhone
|
||||
{
|
||||
$this->date = $date;
|
||||
}
|
||||
|
||||
|
||||
public function isEmpty(): bool
|
||||
{
|
||||
return empty($this->getDescription()) && empty($this->getPhonenumber());
|
||||
|
Reference in New Issue
Block a user