Bug 28272: Fix note_seen, desk_id, cancellation_reason
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
6e7a3b4944
commit
68bb349593
4 changed files with 14 additions and 0 deletions
|
@ -140,6 +140,7 @@ sub to_api_mapping {
|
||||||
lastreneweddate => 'last_renewed_date',
|
lastreneweddate => 'last_renewed_date',
|
||||||
issuedate => 'checkout_date',
|
issuedate => 'checkout_date',
|
||||||
notedate => 'note_date',
|
notedate => 'note_date',
|
||||||
|
noteseen => 'note_seen',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,7 @@ sub to_api_mapping {
|
||||||
lastreneweddate => 'last_renewed_date',
|
lastreneweddate => 'last_renewed_date',
|
||||||
issuedate => 'checkout_date',
|
issuedate => 'checkout_date',
|
||||||
notedate => 'note_date',
|
notedate => 'note_date',
|
||||||
|
noteseen => 'note_seen',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,10 @@
|
||||||
"format": "date",
|
"format": "date",
|
||||||
"description": "Datetime of the issue note"
|
"description": "Datetime of the issue note"
|
||||||
},
|
},
|
||||||
|
"note_seen": {
|
||||||
|
"type": ["boolean", "null"],
|
||||||
|
"description": "has the note been seen already"
|
||||||
|
},
|
||||||
"issuer": {
|
"issuer": {
|
||||||
"type": [
|
"type": [
|
||||||
"object",
|
"object",
|
||||||
|
|
|
@ -22,11 +22,19 @@
|
||||||
"type": ["string", "null"],
|
"type": ["string", "null"],
|
||||||
"description": "Internal library identifier for the pickup library"
|
"description": "Internal library identifier for the pickup library"
|
||||||
},
|
},
|
||||||
|
"desk_id": {
|
||||||
|
"type": ["integer", "null"],
|
||||||
|
"description": "The id of the desk"
|
||||||
|
},
|
||||||
"cancellation_date": {
|
"cancellation_date": {
|
||||||
"type": ["string", "null"],
|
"type": ["string", "null"],
|
||||||
"format": "date",
|
"format": "date",
|
||||||
"description": "The date the hold was cancelled"
|
"description": "The date the hold was cancelled"
|
||||||
},
|
},
|
||||||
|
"cancellation_reason": {
|
||||||
|
"type": ["string", "null"],
|
||||||
|
"description": "The reason the hold was cancelled"
|
||||||
|
},
|
||||||
"notes": {
|
"notes": {
|
||||||
"type": ["string", "null"],
|
"type": ["string", "null"],
|
||||||
"description": "Notes related to this hold"
|
"description": "Notes related to this hold"
|
||||||
|
|
Loading…
Reference in a new issue