Change logic of tags_ids filter from AND to OR

This commit is contained in:
Constantin Graf
2024-11-08 12:11:16 +01:00
committed by Constantin Graf
parent 45daeead61
commit 4b622afcfc
6 changed files with 53 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ class TimeEntryIndexExportRequest extends TimeEntryIndexRequest
return $builder->whereBelongsTo($this->organization, 'organization');
}),
],
// Filter by tag IDs, tag IDs are AND combined
// Filter by tag IDs, tag IDs are OR combined
'tag_ids' => [
'array',
'min:1',