Bug 29809: Rename item relation accessor from itemnumber
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 6 Jan 2022 13:49:37 +0000 (13:49 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 7 Feb 2022 16:47:38 +0000 (11:47 -0500)
commita33afd47c11b96e9f13b6d83ca641883c9c70adc
treeebf0a1d239e14dbb22d178c272e18c741e334430
parenta688e1e08d8da28d9f3be047fe20c95851bed4e4
Bug 29809: Rename item relation accessor from itemnumber

This patch renames the item relation accessor method in
StockRotationItem to 'item' from 'itemnumber' to more clearly reflect
that the method returns a Koha::Item object and not an itemnumber.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/StockRotationItem.pm
t/db_dependent/StockRotationItems.t