1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-06 17:41:01 +00:00

Add prefix for tag slugs

This should be considered as a temporary fix, we may deprecate tag
slugs in the future.

Fixes #6048

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf 2023-01-09 22:18:23 +01:00
parent 126b32131f
commit 2f2cfa2c2a
3 changed files with 7 additions and 7 deletions

View file

@ -45,7 +45,7 @@ class Tag
/**
* @Expose
* @Gedmo\Slug(fields={"label"})
* @Gedmo\Slug(fields={"label"}, prefix="t:")
* @ORM\Column(length=128, unique=true)
*/
private $slug;