def hook_get_queryset(self, changelist, request):
changelist.check_field_exists(self.pid_field)<EOL>self.pid = self.get_pid_from_request(changelist, request)<EOL>changelist.params[self.pid_field] = self.pid<EOL>
Triggered by `ChangeList.get_queryset()`.