I don’t really know what is expected to complete this ticket. From what I understand and correct me if I am wrong, The display cursor to implement logic for what need’s to displayed on each page.
is this just a for loop & conditional logic based on Page, so
page 1 -> cursor.limit(20)
page 2 -> cursor.skip (20)
page 3 -> cursor.skip(40)?
What exactly is the ternary operator doing here?