Update order_list.tpl

Rewrote the 'filter' function to be more generalized and easier to maintain across the admin section. Basically this function could be applied to all listings with filters (but I will leave it here first for review).