Skip to content

Commit c3def0e

Browse files
committed
1284: Fix Tag and Vocabulary filter definitions
1 parent 61e2756 commit c3def0e

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/Api/Dto/Tag.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@
4848
)]
4949
#[ApiFilter(
5050
MatchFilter::class,
51-
properties: ['name']
52-
)]
53-
#[ApiFilter(
54-
MatchFilter::class,
55-
properties: ['vocabulary']
51+
properties: ['name', 'vocabulary']
5652
)]
5753
readonly class Tag
5854
{

src/Api/Dto/Vocabulary.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@
4848
)]
4949
#[ApiFilter(
5050
MatchFilter::class,
51-
properties: ['name']
52-
)]
53-
#[ApiFilter(
54-
MatchFilter::class,
55-
properties: ['tags']
51+
properties: ['name', 'tags']
5652
)]
5753
readonly class Vocabulary
5854
{

0 commit comments

Comments
 (0)