mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-24 08:22:29 +02:00
don't check date fields for text search (#4419)
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
7ae2e62388
commit
9e0811f31f
@ -358,7 +358,7 @@ function searchFilterCards(cards: Card[], board: Board, searchTextRaw: string):
|
||||
if (options?.includes(searchText)) {
|
||||
return true
|
||||
}
|
||||
} else if ((propertyValue.toString()).toLowerCase().includes(searchText)) {
|
||||
} else if (propertyTemplate.type !== 'date' && (propertyValue.toString()).toLowerCase().includes(searchText)) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user