Issue #3469501 by grimreaper: Mini pager displays one link when there is no result + variable name consistency with menu.
Closes #3469501