Skip to content

Commit

Permalink
fixup! feat(search): Allow multiple search terms in UnifiedController
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
  • Loading branch information
Altahrim committed Oct 26, 2023
1 parent b4482bb commit ea47f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Search/SearchComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function __construct(
private LoggerInterface $logger
) {
$this->commonFilters = [
'term' => new FilterDefinition('name', 'string'),
'term' => new FilterDefinition('term', FilterDefinition::TYPE_STRING),
'since' => new FilterDefinition('since', FilterDefinition::TYPE_DATETIME),
'until' => new FilterDefinition('until', FilterDefinition::TYPE_DATETIME),
'title-only' => new FilterDefinition('title-only', FilterDefinition::TYPE_BOOL, false),
Expand Down

0 comments on commit ea47f49

Please sign in to comment.