Added code fix to check if we show the search or not for the inventory scale

Reviewer: Tiff Go (post commit)

Issue: none