Bug 36079 - Library hours and the Calendar are not linked in any meaningful ways
Summary: Library hours and the Calendar are not linked in any meaningful ways
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
Depends on: 6796
  Show dependency treegraph
Reported: 2024-02-13 10:59 UTC by Martin Renvoize
Modified: 2024-02-29 16:00 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:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2024-02-13 10:59:37 UTC
Bug 6796 adds the ability to define library opening hours for each branch. It does not, however, respect weekday closed days as defined in the Calendar page.

We should expose that detail from the libraries interface, including in the summary table, details view and edit form.

I believe this would be best achieved by migrating the weekly closed days from repeatable holidays into the new library_hours table and thus making it available via the existing library_hours embed in the API.  This makes it trivial to display the open/closed state in the api driven datatable as well as on the view and edit pages.

We should continue to support displaying and editing these weekly closed days from the calendar too, however.