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

(-)a/Koha/Hold.pm (+1 lines)
Lines 668-673 sub to_api_mapping { Link Here
668
        itemnumber       => 'item_id',
668
        itemnumber       => 'item_id',
669
        waitingdate      => 'waiting_date',
669
        waitingdate      => 'waiting_date',
670
        expirationdate   => 'expiration_date',
670
        expirationdate   => 'expiration_date',
671
        patron_expiration_date => 'patron_expiration_date',
671
        lowestPriority   => 'lowest_priority',
672
        lowestPriority   => 'lowest_priority',
672
        suspend          => 'suspended',
673
        suspend          => 'suspended',
673
        suspend_until    => 'suspended_until',
674
        suspend_until    => 'suspended_until',
(-)a/api/v1/swagger/definitions/hold.yaml (+6 lines)
Lines 74-79 properties: Link Here
74
      - "null"
74
      - "null"
75
    format: date
75
    format: date
76
    description: The date the hold expires
76
    description: The date the hold expires
77
  patron_expiration_date:
78
    type:
79
      - string
80
      - "null"
81
    format: date
82
    description: The date the hold expires entered by patron
77
  lowest_priority:
83
  lowest_priority:
78
    type: boolean
84
    type: boolean
79
    description: Controls if the hold is given the lowest priority on the queue
85
    description: Controls if the hold is given the lowest priority on the queue
(-)a/api/v1/swagger/paths/holds.yaml (-1 / +4 lines)
Lines 61-66 Link Here
61
        in: query
61
        in: query
62
        description: Date the hold expires
62
        description: Date the hold expires
63
        type: string
63
        type: string
64
      - name: patron_expiration_date
65
        in: query
66
        description: Date the hold expires entered by patron
67
        type: string
64
      - name: lowest_priority
68
      - name: lowest_priority
65
        in: query
69
        in: query
66
        description: Lowest priority
70
        description: Lowest priority
67
- 

Return to bug 29975