I expect you have "BaseViewID" attribute set to "0" on the "View" element of your custom list definition. You should change this attribute to some other value (in range 1..255) and the problem should vanish then.
Although this is actually all you need to solve the issue, I anticipate you might want some more detailed explanations :)
Actually, BaseViewID is a curious thing! On MSDN it is described as:
Optional Integer. Specifies the ID of the base view.
But in the point of fact, there is no any "base view" out there. AFAIK, it is just an abstract term which I guess should have meaning only when displaying different views of standard lists (like Links, Announcements, Tasks, etc.). But as you can see, sometimes it influences custom lists, too. Accidentally, I guess.
Although "base view" is an abstract thing, it's ID amusingly has a very specific meaning when it comes to displaying a list view :) In 14/TEMPLATE/LAYOUTS/XSL/vwstyles.xsl
you can find an astonishing number of BaseViewID matches. And vwstyles.xsl
is one of the most important files for the XsltListViewWebPart, which in SharePoint 2010 is the essential block and it is responsible for displaying almost every list view (with the only exception of Calendars, actually).
In particular, the BaseViewID="0"
secret meaning is revealed by a comment in the vwstyles.xsl
file:
<!-- BaseViewID = 0 is summary view (home page view)-->
So BaseViewID 0 is intended for using in views, which are added to home page! Remember, when you're adding a XsltListViewWebPart to a page, you can select to display "Summary view" in webpart properties. This is actually "BaseViewID=0" view. Feel the difference:
Ordinary announcements view

Summary (home page) announcements view

As you can see, the views look completely different! While the only thing which changed in their definitions was BaseViewID property.
That is what happened with your particular view, actually. Since it was unknowingly marked as a home page view (BaseViewID=0), it's paging had been hidden and the link to default view was added. Obviously, since this was the default view and at the same time it was a homepage view, the thing didn't work as it should.
By the way, you might have noticed that in your link code, you have id="onetidMoreAnn"
attribute, where "onetidMoreAnn" stands for "onet identifier for more announcements". Thus, the link was originally intended for using with the announcements view. And in summary view of the standard Announcements list view, if you add more than 30 items, you will behold the same link.
Hope it's clear now, but please, feel free to ask any further questions.