put pagination on search and filter