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

(-)a/Koha/Patron.pm (+1 lines)
Lines 1616-1621 sub to_api_mapping { Link Here
1616
        smsalertnumber      => 'sms_number',
1616
        smsalertnumber      => 'sms_number',
1617
        sort1               => 'statistics_1',
1617
        sort1               => 'statistics_1',
1618
        sort2               => 'statistics_2',
1618
        sort2               => 'statistics_2',
1619
        autorenewal         => 'autorenewal',
1619
        streetnumber        => 'street_number',
1620
        streetnumber        => 'street_number',
1620
        streettype          => 'street_type',
1621
        streettype          => 'street_type',
1621
        zipcode             => 'postal_code',
1622
        zipcode             => 'postal_code',
(-)a/api/v1/swagger/definitions/patron.json (+4 lines)
Lines 191-196 Link Here
191
      "type": ["string", "null"],
191
      "type": ["string", "null"],
192
      "description": "a field that can be used for any information unique to the library"
192
      "description": "a field that can be used for any information unique to the library"
193
    },
193
    },
194
    "autorenewal": {
195
      "type": "boolean",
196
      "description": "indicate whether auto-renewal is allowed for patron"
197
    },
194
    "altcontact_firstname": {
198
    "altcontact_firstname": {
195
      "type": ["string", "null"],
199
      "type": ["string", "null"],
196
      "description": "first name of alternate contact for the patron"
200
      "description": "first name of alternate contact for the patron"
(-)a/api/v1/swagger/paths/patrons.json (-1 / +6 lines)
Lines 296-301 Link Here
296
        "required": false,
296
        "required": false,
297
        "type": "string"
297
        "type": "string"
298
      }, {
298
      }, {
299
        "name": "autorenewal",
300
        "in": "query",
301
        "description": "Search on autorenewal",
302
        "required": false,
303
        "type": "boolean"
304
      }, {
299
        "name": "altcontact_firstname",
305
        "name": "altcontact_firstname",
300
        "in": "query",
306
        "in": "query",
301
        "description": "Case insensitive search on altcontact_firstname",
307
        "description": "Case insensitive search on altcontact_firstname",
302
- 

Return to bug 24476