iDigBio / idigbio-search-api

Server-side code driving iDigBio's search functionality.
GNU General Public License v3.0
24 stars 5 forks source link

summary/stats/search ignores mindate #51

Open roncanepa opened 4 years ago

roncanepa commented 4 years ago

and returns full history. Including using proper minDate casing as it exists in the code. The following will still return starting from 2015.

curl --location --request GET 'search.idigbio.org/v2/summary/stats/search' \
--header 'Content-Type: text/plain' \
--data-raw '{"dateInterval": "month", "minDate": "2020-01-16"}'

https://github.com/iDigBio/idigbio-search-api/blob/master/src/controllers/summary.js#L212