My pagination wasn't working

It was not adding the page parameter to the url. This might be a hack, but might help someone in the mean time.