Bugzilla – Attachment 180445 Details for
Bug 39346
Only 20 additional fields can be added to an agreement
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39346: Display all additional fields
Bug-39346-Display-all-additional-fields.patch (text/plain), 1.43 KB, created by
Matt Blenkinsop
on 2025-04-03 08:33:33 UTC
(
hide
)
Description:
Bug 39346: Display all additional fields
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-04-03 08:33:33 UTC
Size:
1.43 KB
patch
obsolete
>From eb847fb5026385ed903e6583e77c0c2ae6994b8b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 17 Mar 2025 11:46:50 +0100 >Subject: [PATCH] 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> >--- > .../prog/js/fetch/additional-fields-api-client.js | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/fetch/additional-fields-api-client.js b/koha-tmpl/intranet-tmpl/prog/js/fetch/additional-fields-api-client.js >index f0c0fb138e1..db25c0f0e57 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/fetch/additional-fields-api-client.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/fetch/additional-fields-api-client.js >@@ -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 }, > }), > }; > } >-- >2.48.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39346
:
179384
|
179420
|
179424
| 180445