Perhaps Bug 30165 allowing multiple “q” parameters would provide an alternative 
as well?

 

In the DataTables, it looks like it’s used for receiving acquisitions and 
something with POS registers. 

 

In master, the acquisitions issue is solved by turning off that option switch. 
(Although in older versions of Koha the Orders route doesn’t seem able to 
handle the UTF-8 encoded characters.) 

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

From: Tomas Cohen Arazi <tomasco...@gmail.com> 
Sent: Tuesday, 6 December 2022 11:24 AM
To: Galen Charlton <g...@equinoxoli.org>
Cc: David Cook <dc...@prosentient.com.au>; koha-devel 
<koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] Fundamental flaw in Koha REST API

 

I recall we used the header at some point, to keep the base query clean when 
adding new filters.

 

The only alternative is forcing the use of some form of ascii encoding 
(base64?) But I agree we should better deprecate it.

 

It's use in the codebase on DT is tied to an option switch and probably not 
used 

 

 

 

El lun, 5 dic 2022 20:08, Galen Charlton <g...@equinoxoli.org 
<mailto:g...@equinoxoli.org> > escribió:

Hi,

On Mon, Dec 5, 2022 at 5:40 PM David Cook <dc...@prosentient.com.au 
<mailto:dc...@prosentient.com.au> > wrote:
> At the moment, it’s not widely used by Koha itself, so I don’t think
> it will be hard to remove from Koha, but any third-party integrations
> would need to refactor to use a different option.

This might not be a huge factor, though of course removing that header
should go through a deprecation procedure.

Specifically, upon skimming the results of a GitHub search of
"x-koha-query", the only uses I found outside of Koha itself were in
plugins published by a couple active community members.

Regards,

Galen
-- 
Galen Charlton
Implementation and IT Manager
Equinox Open Library Initiative
g...@equinoxoli.org <mailto:g...@equinoxoli.org> 
https://www.equinoxOLI.org
phone: 877-OPEN-ILS (673-6457)
direct: 770-709-5581
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org 
<mailto:Koha-devel@lists.koha-community.org> 
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

Reply via email to