added filter for search. calling search function only when searching str...

...ing is not empty. css added for tables didn't work