https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43492
--- Comment #16 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 205377 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205377&action=edit Bug 43492: Add a typed library_opening_hours embed on /libraries The old library_hours embed (an untyped array with no items schema) is replaced with library_opening_hours, backed by the new Koha::Library->library_opening_hours accessor and a proper library_opening_hour definition, so /libraries and /libraries/{id} responses carry every opening hours slot (any type) with a real schema instead of an opaque array. This is a minimal slice of what will become the fuller REST API in Bug 43494 (dedicated CRUD endpoints) - pulled forward here because the libraries admin list page's "Library hours" column depends on it, and that page would otherwise be left showing stale/broken data once library_hours (and its embed) no longer exist. Requires `yarn build && restart_all` for the rebuilt OpenAPI spec to take effect. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
