Integrating pagination for enquiries