added standard code for filter
Merge pull request #1254 from nutan-gooru/dev-branch

added standard code for filter