View | Details | Raw Unified | Return to bug 6796
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/library.yaml (-1 / +1 lines)
Lines 117-123 properties: Link Here
117
    description: If the library needs an override to act as pickup location for a hold
117
    description: If the library needs an override to act as pickup location for a hold
118
  library_hours:
118
  library_hours:
119
    type:
119
    type:
120
      - object
120
      - array
121
      - "null"
121
      - "null"
122
    description: The open and close times for a library on any given day
122
    description: The open and close times for a library on any given day
123
additionalProperties: false
123
additionalProperties: false
(-)a/api/v1/swagger/paths/libraries.yaml (-5 / +2 lines)
Lines 87-97 Link Here
87
        description: Case insensitive 'starts_with' search on notes
87
        description: Case insensitive 'starts_with' search on notes
88
        required: false
88
        required: false
89
        type: string
89
        type: string
90
      - name: library_hours
91
        in: query
92
        description: Case insensitive 'starts_with' search on notes
93
        required: false
94
        type: string
95
      - $ref: "../swagger.yaml#/parameters/match"
90
      - $ref: "../swagger.yaml#/parameters/match"
96
      - $ref: "../swagger.yaml#/parameters/order_by"
91
      - $ref: "../swagger.yaml#/parameters/order_by"
97
      - $ref: "../swagger.yaml#/parameters/page"
92
      - $ref: "../swagger.yaml#/parameters/page"
Lines 108-113 Link Here
108
          type: string
103
          type: string
109
          enum:
104
          enum:
110
            - smtp_server
105
            - smtp_server
106
            - library_hours
111
        collectionFormat: csv
107
        collectionFormat: csv
112
    produces:
108
    produces:
113
      - application/json
109
      - application/json
Lines 200-205 Link Here
200
          type: string
196
          type: string
201
          enum:
197
          enum:
202
            - smtp_server
198
            - smtp_server
199
            - library_hours
203
        collectionFormat: csv
200
        collectionFormat: csv
204
    produces:
201
    produces:
205
      - application/json
202
      - application/json
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-2 / +1 lines)
Lines 648-654 Link Here
648
                "ajax": {
648
                "ajax": {
649
                    "url": libraries_url
649
                    "url": libraries_url
650
                },
650
                },
651
                'embed': [ 'smtp_server' ],
651
                'embed': [ 'smtp_server', 'library_hours' ],
652
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
652
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
653
                "stateSave": true,
653
                "stateSave": true,
654
                "columnDefs": [ {
654
                "columnDefs": [ {
655
- 

Return to bug 6796