Bug 36627: (QA follow-up): Rename borrowernumber -> patron_id
To test: $ prove t/db_dependent/api/v1/erm_counter_logs.t Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
be1646fb80
commit
15803e4f29
2 changed files with 15 additions and 3 deletions
|
@ -31,6 +31,18 @@ Koha::ERM::EUsage::CounterLog - Koha ErmCounterLog Object class
|
|||
|
||||
=cut
|
||||
|
||||
=head3 to_api_mapping
|
||||
|
||||
This method returns the mapping for representing a Koha::ERM::EUsage::CounterLog
|
||||
on the API.
|
||||
|
||||
=cut
|
||||
|
||||
sub to_api_mapping {
|
||||
return {
|
||||
borrowernumber => 'patron_id',
|
||||
};
|
||||
}
|
||||
|
||||
=head3 patron
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ properties:
|
|||
type:
|
||||
- integer
|
||||
- "null"
|
||||
borrowernumber:
|
||||
description: borrowernumber of the counter log
|
||||
patron_id:
|
||||
description: patron_id of the counter log
|
||||
type:
|
||||
- integer
|
||||
- "null"
|
||||
|
@ -43,5 +43,5 @@ properties:
|
|||
additionalProperties: false
|
||||
required:
|
||||
- filename
|
||||
- borrowernumber
|
||||
- patron_id
|
||||
- counter_files_id
|
Loading…
Reference in a new issue