Admin is showing all posts on page 1

so it was $wp_query->set('nopaging', true);

Which was set in a pre_get_posts function. I never thought of searching for this.

I’ve added

if(!is_admin()){
// code
}

So it doesn’t run in the admin.