Adding a disable feature for current pagination