@@ -, +, @@ management --- api/v1/swagger/definitions/library.yaml | 2 +- api/v1/swagger/paths/libraries.yaml | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) --- a/api/v1/swagger/definitions/library.yaml +++ a/api/v1/swagger/definitions/library.yaml @@ -117,7 +117,7 @@ properties: description: If the library needs an override to act as pickup location for a hold library_hours: type: - - object + - array - "null" description: The open and close times for a library on any given day additionalProperties: false --- a/api/v1/swagger/paths/libraries.yaml +++ a/api/v1/swagger/paths/libraries.yaml @@ -108,6 +108,7 @@ type: string enum: - smtp_server + - library_hours collectionFormat: csv produces: - application/json @@ -200,6 +201,7 @@ type: string enum: - smtp_server + - library_hours collectionFormat: csv produces: - application/json --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -646,7 +646,7 @@ "ajax": { "url": libraries_url }, - 'embed': [ 'smtp_server' ], + 'embed': [ 'smtp_server', 'library_hours' ], 'emptyTable': '
'+_("There are no libraries defined.")+' '+_("Start defining libraries")+'.
', "stateSave": true, "columnDefs": [ { --