Bug 33690: Convert to x-koha-override
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 8 Sep 2023 11:06:26 +0000 (12:06 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 15:07:56 +0000 (11:07 -0400)
commitf90715782c0acb4cd548e005b34a76e08c20b0c5
tree9e2888075faf4602bd759167537fbbd61df1f077
parent6a9b4d909618b7f6dd6f6d46d1a96802e81f0c1d
Bug 33690: Convert to x-koha-override

This patch converts the existing work to use x-koha-override instead of
introducing an entirely new header and we default to the system
preference value if the override isn't passed.

I believe this is more consistent with our approach in other areas of
koha to date.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Patrons.pm
api/v1/swagger/paths/patrons.yaml
t/db_dependent/api/v1/patrons.t