The history parameter wasn't passed to _get_pagination_options. _get_pagination_options was adding a ? to the generated url parameters, but the search was already doing it. Change-Id: Id98dae88a090c14111eb3c9f31e41c10d9fc8fd1