I can’t get pagination to work properly after landing on a Tag Landing page. All other pagination on the site works correctly. But the one from my Tag landing page does not.
<div class="catdiv">
[[Ditto?parents=`21`&depth=`2` &tpl=`DittoCats` &sortBy=`pagetitle` &sortDir=`asc` &paginate=`1` &summarize=`6` &tagData=`myTags` &tagDelimiter=`, `]]
</div>
<div class="ditto_stats righttext">
Showing <strong>[+start+]</strong> - <strong>[+stop+]</strong> of <strong>[+total+]</strong> Articles | Page <strong>[+currentPage+]</strong> of <strong>[+totalPages+]</strong>
<div id="ditto_pages">
[+previous+] [+pages+] [+next+]
</div>
</div>
The page displays correct matches for the tags, but I just can’t get it to display anything past page 1.
When I hover over, for example Page 2, the link shows as "keyword-results.html?tags=adrenaline&start=0&start=6"
However with other pages on the site that use pagination the Page 2 link shows as something like;
"water-based-activities.html?start=6"
Where is the extra "&start=0" in the Page 2 link on my keyword-results.html page coming from?
The call to go to the landing page is as follows;
[[Ditto?documents=`81` &depth=`1` &tagData=`myTags` &tagDelimiter=`, ` &tpl=`DittoKeywords` &tagDocumentID=`190`]]
It seems that there might be an issue with the way that "&documents" is called on the initial page, while "&parents" is called on the landing page. I need the "&documents" call on the initial page because I need it to display the tags for the page the user is on at the time.
I’m using ModX 0.9.6 and Ditto 2.02.