Closed
Description
Python version
3.13
Django version
5.1.4
Package version
0.29.3
Current behavior (bug description)

When opening the popup for a related model (defined in the admin class via the raw_id_fields
var) and trying to navigate through the pages of the related model, clicking on any page returns 404

The html for the paginator is as follows:
<p class="paginator">
<span class="this-page">1</span>
<a href="?_popup=1&_to_field=id&p=2">2</a>
<a href="?_popup=1&_to_field=id&p=3">3</a>
<a href="?_popup=1&_to_field=id&p=4">4</a>
<a href="?_popup=1&_to_field=id&p=5" class="end">5</a>
</p>
But upon clicking any of these links, the following error appears:

From my understanding the href isn't being concatenated to the popup URL, but I'm unsure what the cause is
Expected behavior
Pagination for popups of related models works fine
Metadata
Metadata
Assignees
Labels
Projects
Status