How does this affect miles?
One of the bad things about direct, is that you get no benefit (sometimes change planes, and can actually miss you connection) and usually a hit in miles, especially the more acute the angle between the legs.
I think direct should book as two legs automatically. Just because the flight number happens to be the same, it is two separate flights that have all the perils of connecting.
-=tg=-