]> git.koha-community.org Git - koha.git/commit
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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 21 Feb 2022 15:43:21 +0000 (15:43 +0000)
commit0f9caafbb3e783ba3e216fdea8bf0d625e00040b
tree605785f2f2b4d5731a173529e68567ed6d014116
parent6c206df70a699679e59b56207cefb66e8f61eb5f
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>
(cherry picked from commit a33afd47c11b96e9f13b6d83ca641883c9c70adc)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/StockRotationItem.pm
t/db_dependent/StockRotationItems.t