Add a function to the item repository to get one item with joins