Filter out duplicate cards in overview

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-11-10 14:01:58 +01:00
parent b32b8a6ff0
commit a7f8c183d5
3 changed files with 6 additions and 10 deletions

View File

@@ -83,6 +83,10 @@ class RelationalEntity extends Entity implements \JsonSerializable {
return $json;
}
public function __toString(): string {
return (string)$this->getId();
}
/*
* Resolve relational data from external methods
*