Query filter lost with pagination - with Select

To elaborate, the new (in Django 5.1) querystring template tag will help you with this. Your pagination links would change from:

<a href="?page={{ page_obj.previous_page_number }}" ...

to:

<a href="{% querystring page=page_obj.previous_page_number %}" ...