To help users find images from a certain period of time, we want to add date filtering and sorting to image search. This should filter images based on the dates of the source work.
Approach
[x] Add date range filtering to the images API. This should match the date range filtering in the works API, with the parameters source.production.dates.from and source.production.dates.to.
[x] Add a source.production.dates aggregation to the images API.
Background
To help users find images from a certain period of time, we want to add date filtering and sorting to image search. This should filter images based on the dates of the source work.
Approach
source.production.dates.from
andsource.production.dates.to
.source.production.dates
aggregation to the images API.production.dates
. (https://github.com/wellcomecollection/catalogue-api/pull/648)