Added sidebar filtering

Search got change -- need to apply these changes to the latest search
(to be added in next commit)