Adds widget query filter.