0

I have list of items in a page with pagination. Let's say, I am in the page 10 and I want to edit an item.

After I click the update button, this code is run:

  res.redirect('back')

But this redirects me to the same page, not the last one.

What is the best way to do it with pagination?

4

0 回答 0