Skip to content

Search results: handle date filter values with varying precision #1893

Description

@kjacks

With the ability to add date-type property filters introduced in #1803 , users can now select individual dates to filter search results by.

Though the rest of Aleph supports dates of varying precision (i.e. YYYY, YYYY-MM, or YYYY-MM-DD), the filter value processing in the backend incorrectly converts all dates to January first of the given year.

Solution 1: Modify backend date processing to support varying precision of dates

Solution 2: Utilize the date histogram for all date-type properties

Screen Shot 2021-07-14 at 14 09 55

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions