[Koha-bugs] [Bug 33623] getAll not encoding URL params
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 2 11:24:02 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33623
--- Comment #12 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
The code looks like it introduces a behaviour change to me.. but maybe I'm just
not entirely close enough to it.
endpoint: "agreements?" + (query || "_per_page=-1"),
vs
endpoint:
"agreements?" +
new URLSearchParams({
_per_page: -1,
...(query && { q: JSON.stringify(query) }),
}),
To me, that looks like before now we let the query govern the paging whereas
after we're always setting _per_page=-1.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list