Bugzilla – Attachment 156020 Details for
Bug 34055
Add API client class to get items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34055: Rebased on top of 34219
Bug-34055-Rebased-on-top-of-34219.patch (text/plain), 1.39 KB, created by
Chris Cormack
on 2023-09-21 21:34:18 UTC
(
hide
)
Description:
Bug 34055: Rebased on top of 34219
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2023-09-21 21:34:18 UTC
Size:
1.39 KB
patch
obsolete
>From 50108ad85b45680e7442c0fea3211a4b20c71806 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 6 Jul 2023 16:16:37 +0200 >Subject: [PATCH] Bug 34055: Rebased on top of 34219 > >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > .../prog/js/vue/fetch/item-api-client.js | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/item-api-client.js b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/item-api-client.js >index 87df66c29a1..228d0a691ab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/item-api-client.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch/item-api-client.js >@@ -10,14 +10,10 @@ export class ItemAPIClient extends HttpClient { > get items() { > return { > getAll: (query, params) => >- this.get({ >- endpoint: >- "items?" + >- new URLSearchParams({ >- _per_page: -1, >- ...(query && { q: JSON.stringify(query) }), >- }), >- ...params, >+ this.getAll({ >+ endpoint: "items", >+ query, >+ params, > }), > }; > } >-- >2.30.2
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 34055
:
152468
|
152470
|
153098
|
153529
|
153530
|
156019
| 156020