]> git.koha-community.org Git - koha.git/commit
Bug 26635: (follow-up) Rename av_expand to strings
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 7 Nov 2022 12:25:33 +0000 (12:25 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Nov 2022 17:01:02 +0000 (14:01 -0300)
commit296c84e0e8ff97bd3bef298ebccc23808a67d6d9
tree196400e1a3e8ca38788f395afbc4ec9506407e4d
parent2a620f5f63990b4c6ec295d77485210f29019b94
Bug 26635: (follow-up) Rename av_expand to strings

This patch updates the `av_expand` occurences to `strings` to match the
change of the return structure of `_strings`.

We replace `+av_expand` in the headers with `+strings`, the expected
object method name from `api_av_mapping` to `api_strings_mapping` and
the internal hash key from `av_expand` to `strings`.

Test plan
1) Run the included unit tests.. all should still pass.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Object.pm
Koha/REST/Plugin/Objects.pm
Koha/REST/Plugin/Query.pm
t/Koha/REST/Plugin/Query.t
t/db_dependent/Koha/Object.t
t/db_dependent/Koha/REST/Plugin/Objects.t