Pagination adds search query (again)

As I wrote I expected it to be something I overlooked and it was.

If you replace

esc_url( get_pagenum_link( $big ) )

with

html_entity_decode( get_pagenum_link( $big ) )

it does what it needs to do.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)