Bug 33161: (follow-up) Consistent use of db fields throughout
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Mar 2023 12:43:05 +0000 (12:43 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 20 Mar 2023 16:48:19 +0000 (16:48 +0000)
commit9fc7f8bb200f0c42f202e1e27d9e1cbb7ae6358d
treede0e2a3424e6009afa1481e5bf7521135dd9d28e
parent95ac878376fce692e8999b5a801a2b58a8ce68d0
Bug 33161: (follow-up) Consistent use of db fields throughout

We should stick to DB field names as long as possible to allow re-use
and only convert to api field names via to_api_mapping at the last
moment inside the parent to_api function.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 04736dd0bafbef608e56e8cd4dae63bb4eb93fe6)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Item.pm
Koha/Object.pm