Bugzilla – Attachment 179384 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]
[24.11] Bug 39346: Display all additional fields
Bug-39346-Display-all-additional-fields.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2025-03-17 10:48:09 UTC
(
hide
)
Description:
[24.11] Bug 39346: Display all additional fields
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-03-17 10:48:09 UTC
Size:
1.33 KB
patch
obsolete
>From 25e070bb182ae071dcd8330419aaa84f371af3c0 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. >--- > .../prog/js/vue/fetch/additional-fields-api-client.js | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/additional-fields-api-client.js b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/additional-fields-api-client.js >index 19b3895cb25..e8ab291e31f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/additional-fields-api-client.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/additional-fields-api-client.js >@@ -10,8 +10,9 @@ export class AdditionalFieldsAPIClient extends HttpClient { > get additional_fields() { > return { > getAll: resource_type => >- this.get({ >- endpoint: "?resource_type=" + resource_type, >+ this.getAll({ >+ endpoint: "", >+ params: { resource_type }, > }), > }; > } >-- >2.34.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