updated filter template to dynamically generate pager options