Bug 29401 - Hold suspensions should match the resolution of other holds date fields
Summary: Hold suspensions should match the resolution of other holds date fields
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 24850
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-03 11:08 UTC by Martin Renvoize (ashimema)
Modified: 2021-11-03 11:24 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize (ashimema) 2021-11-03 11:08:45 UTC
The suspenduntil field is a datetime, but all other fields in the reserves table are date only... we even have code to undo the 'time' resolution.. we should instead just make the database field a date instead of datetime to match the other fields..


Or.. if hourly resolution is really needed, we should update all the fields to respect that and add the corresponding code :S
Comment 1 Jonathan Druart 2021-11-03 11:24:31 UTC
What I would do first is to make the REST API consistent.