Bugzilla – Attachment 144603 Details for
Bug 32468
Vendors select only allows selecting from first 20 vendors by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32468: Remove unecessary fetch titles JS functions
Bug-32468-Remove-unecessary-fetch-titles-JS-functi.patch (text/plain), 1.47 KB, created by
Jonathan Druart
on 2022-12-15 07:32:01 UTC
(
hide
)
Description:
Bug 32468: Remove unecessary fetch titles JS functions
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-12-15 07:32:01 UTC
Size:
1.47 KB
patch
obsolete
>From f938c3cb94156d8239032e3fa67e1f5e452a6088 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 15 Dec 2022 08:19:57 +0100 >Subject: [PATCH] Bug 32468: Remove unecessary fetch titles JS functions > >Those JS functions are no longer in use and can be removed. >--- > koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js | 23 -------------------- > 1 file changed, 23 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js >index 4ee84a97902..1a31a2e9495 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/fetch.js >@@ -267,29 +267,6 @@ export const fetchEBSCOTitle = function (title_id) { > return _fetchTitle(apiUrl, title_id); > }; > >-export const _fetchTitles = async function (apiUrl) { >- let titles; >- await fetch(apiUrl) >- .then(checkError) >- .then( >- (result) => { >- titles = result; >- }, >- (error) => { >- setError(error); >- } >- ); >- return titles; >-}; >-export const fetchLocalTitles = function () { >- const apiUrl = "/api/v1/erm/eholdings/local/titles"; >- return _fetchTitles(apiUrl); >-}; >-export const fetchEBSCOTitles = function () { >- const apiUrl = "/api/v1/erm/eholdings/ebsco/titles"; >- return _fetchTitles(apiUrl); >-}; >- > export const fetchLocalTitleCount = async function (filters) { > const q = filters > ? { >-- >2.25.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 32468
:
144601
|
144602
|
144603
|
144620
|
144621
|
144622
|
144714
|
144715
|
144716