Added code to display filtered data for inventory views