]> git.koha-community.org Git - koha.git/commit
Bug 20212: Remove fix_query and assume ugliness
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Jan 2021 10:53:15 +0000 (11:53 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Jan 2021 15:44:48 +0000 (16:44 +0100)
commit24a7fec4459250ff2461213da22dbb4dc2ed8f18
tree5dd6cbb6af0c4ffdd57cd26710fcb68bc328256b
parent43e0b298bf5c235dd21a60bbd42cddb04c505264
Bug 20212: Remove fix_query and assume ugliness

It seems better to do things in an ugly way but simple than complicated.
This patch removes the fix_query method that deals with ean and isbn and
explicitly tell that it's a trick that must not be reused somewhere
else.
It should only be used by Koha internally and we should not advertised
it until it's ready.
This problem will have to be fixed properly when the GET /biblios route
will be implemented.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1/Acquisitions/Orders.pm