LibreSign / libresign

✍️ Nextcloud app to sign PDF documents
https://libresign.coop
488 stars 57 forks source link

Add filter by signature date at listing endpoint #3623

Closed vitormattos closed 1 week ago

vitormattos commented 2 months ago

Add two more query string to filter by signature date:

When the begin will be greater than the defined date and end less than.

Consider as date format: YYYY-MM-DD

Don't consider the time, only use the date.

At API side, the end date should have the suffix 23:59:59 and the begin the suffix 00:00:00.

Route to be changed: GET: /api/{apiVersion}/file/list

Fallback of: https://github.com/LibreSign/libresign/pull/3599

Don't worry about frontend, will be refactored by:

to-do

vitormattos commented 1 week ago

I have added this feature to the new release.