Bug 38681

Summary: "Last checkout date" in item search form should provide a date picker
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: SearchingAssignee: Lucas Gass (lukeg) <lucas>
Status: Needs documenting --- QA Contact: Jonathan Druart <jonathan.druart>
Severity: enhancement    
Priority: P5 - low CC: fridolin.somers, hebah
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
This enhancement adds a datepicker to the "Last checkout date" field in Item search making it easier to select before, after, and on dates in the appropriate date format.
Version(s) released in:
25.05.00
Circulation function:
Attachments: Bug 38681: Add flatpickr to datelastborrowed field in itemsearch
Bug 38681: Add flatpickr to datelastborrowed field in itemsearch
Bug 38681: Add flatpickr to datelastborrowed field in itemsearch

Description Lucas Gass (lukeg) 2024-12-11 23:37:21 UTC
It would be nice if `Last checkout date:` in item search included a date picker so librarians don't have to use an ISO date and instead could use what is specified in DateFormat, 

It could aslo make it easier to deal with datetimes if we add other fields. See Bug 38671.
Comment 1 Lucas Gass (lukeg) 2024-12-30 20:53:43 UTC
Created attachment 176021 [details] [review]
Bug 38681: Add flatpickr to datelastborrowed field in itemsearch

To test:
1. APPLY PATCH
2. Have some checkouts with various issue dates.
3. Go to item search and look for the 'Last checkout date:'
4. Try some different searches and confirm that they work as expected.
5. Change the DateFormat system preference and make sure the search still works with all the DateFormat optoins.
Comment 2 William Lavoie 2025-01-13 18:55:08 UTC
Created attachment 176470 [details] [review]
Bug 38681: Add flatpickr to datelastborrowed field in itemsearch

To test:
1. APPLY PATCH
2. Have some checkouts with various issue dates.
3. Go to item search and look for the 'Last checkout date:'
4. Try some different searches and confirm that they work as expected.
5. Change the DateFormat system preference and make sure the search still works with all the DateFormat optoins.

Signed-off-by: William Lavoie <william.lavoie@inLibro.com>
Comment 3 Jonathan Druart 2025-01-16 09:17:32 UTC
Created attachment 176594 [details] [review]
Bug 38681: Add flatpickr to datelastborrowed field in itemsearch

To test:
1. APPLY PATCH
2. Have some checkouts with various issue dates.
3. Go to item search and look for the 'Last checkout date:'
4. Try some different searches and confirm that they work as expected.
5. Change the DateFormat system preference and make sure the search still works with all the DateFormat optoins.

Signed-off-by: William Lavoie <william.lavoie@inLibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Katrin Fischer 2025-01-16 16:42:09 UTC
Pushed for 25.05!

Well done everyone, thank you!
Comment 5 Fridolin Somers 2025-08-04 09:30:16 UTC
Enhancement not pushed to 24.11.x