]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 16 Apr 2019 13:17:33 +0000 (13:17 +0000)
commit003b70b697f9c57da8bfb0aca1223c867a07ac97
tree19eb869a4a4336d1e93b58bd7dbdf839ff03f18e
parenta131ffca088a8bf6a687cd57a7162c8511c88124
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>
C4/Items.pm