mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 14:35:49 +01:00
Allow tags to contain any character and only show exact matching parts.
This commit is contained in:
@@ -392,7 +392,7 @@ final class PartsDataTable implements DataTableTypeInterface
|
||||
}
|
||||
|
||||
if (isset($options['tag'])) {
|
||||
$builder->andWhere('part.tags LIKE :tag')->setParameter('tag', '%'.$options['tag'].'%');
|
||||
$builder->andWhere('part.tags LIKE :tag')->setParameter('tag', $options['tag']);
|
||||
}
|
||||
|
||||
if (!empty($options['search'])) {
|
||||
|
||||
Reference in New Issue
Block a user