|#1097| Adding pagination logic to view orders screen.