Bug 17041: Fix missing properties in patron.json
authorLari Taskula <larit@student.uef.fi>
Wed, 3 Aug 2016 15:38:42 +0000 (18:38 +0300)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Fri, 5 Aug 2016 06:08:12 +0000 (06:08 +0000)
Swagger definition for patron was missing two properties.

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>

api/v1/definitions/patron.json

index fbee169..8e7d08b 100644 (file)
         "privacy_guarantor_checkouts": {
           "type": "string",
           "description": "controls if relatives can see this patron's checkouts"
+        },
+        "checkprevcheckout": {
+          "type": "string",
+          "description": "produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'"
+        },
+        "updated_on": {
+          "type": "string",
+          "description": "time of last change could be useful for synchronization with external systems (among others)"
         }
       }
 }