]> git.koha-community.org Git - koha.git/commit
Bug 21975: get item field in substitutions
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 7 Dec 2018 14:58:54 +0000 (15:58 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 25 Apr 2019 14:16:28 +0000 (15:16 +0100)
commitb1f2d795defee116ce30522eb76f4981ca21b804
tree450b6f7f9401cedb16afae9b50d57d1bb7319d80
parent89f0c3a9da9d009e7fea0c76f706676078dc9860
Bug 21975: get item field in substitutions

substitutions field stores the item field with 'items.' prefix.
Looks like call of C4::Items::ModItem() works but it will not if ORM object is used in the futur.
So I prefer fix it now and it is needed for main patch.

Test plan :
Run t/db_dependent/Items/AutomaticItemModificationByAge.t

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 003b70b697f9c57da8bfb0aca1223c867a07ac97)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Items.pm