Bug 39346: Display all additional fields
getAll should call getAll, not get, or we lose the _per_page=-1 parameter. Test plan: Have more than 20 additional fields for agreements Create and agreement: => Notice that with this patch, all the fields are displayed. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
b1efa3d71d
commit
fc2730d0f4
|
|
@ -8,8 +8,9 @@ export class AdditionalFieldsAPIClient {
|
|||
get additional_fields() {
|
||||
return {
|
||||
getAll: resource_type =>
|
||||
this.httpClient.get({
|
||||
endpoint: "?resource_type=" + resource_type,
|
||||
this.httpClient.getAll({
|
||||
endpoint: "",
|
||||
params: { resource_type },
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue