@@ -, +, @@ --- Koha/Hold.pm | 1 + api/v1/swagger/definitions/hold.yaml | 6 ++++++ api/v1/swagger/paths/holds.yaml | 4 ++++ 3 files changed, 11 insertions(+) --- a/Koha/Hold.pm +++ a/Koha/Hold.pm @@ -668,6 +668,7 @@ sub to_api_mapping { itemnumber => 'item_id', waitingdate => 'waiting_date', expirationdate => 'expiration_date', + patron_expiration_date => 'patron_expiration_date', lowestPriority => 'lowest_priority', suspend => 'suspended', suspend_until => 'suspended_until', --- a/api/v1/swagger/definitions/hold.yaml +++ a/api/v1/swagger/definitions/hold.yaml @@ -74,6 +74,12 @@ properties: - "null" format: date description: The date the hold expires + patron_expiration_date: + type: + - string + - "null" + format: date + description: The date the hold expires entered by patron lowest_priority: type: boolean description: Controls if the hold is given the lowest priority on the queue --- a/api/v1/swagger/paths/holds.yaml +++ a/api/v1/swagger/paths/holds.yaml @@ -61,6 +61,10 @@ in: query description: Date the hold expires type: string + - name: patron_expiration_date + in: query + description: Date the hold expires entered by patron + type: string - name: lowest_priority in: query description: Lowest priority --