Issue Bug Rejected

#80176fluid widget paginate - pagination links take no action

René Schäfer 03/07/17, 16:59 updated 03/07/17, 17:17

Description

This is for TYPO3 7.6.16, here is that same issue listed for TYPO3 8.5.1 https://forge.typo3.org/issues/79922

I tried to render a list of pages (menu) via TypoScript. I used the new DatabaseQueryProcessor to paginate that list in fluid via <f:widget>.<br>The widget works fine as listing several page links and a bunch of numbers to paginate that hole page list.</f:widget>

BUT if i hit one of that pagination numbers, it turns me always on same first page – instead of next part of page list.

List without pagination widget shows 21 page links.

TypoScript:

tt_content.menu.102 = FLUIDTEMPLATE
tt_content.menu.102 {
        file = EXT:bsdist_to_ext/Resources/Public/theme/tmpl/listicals/listOfUpdatedPages.html

        dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
        dataProcessing.10 {
            table = pages
            pidInList   = this
            recursive  = 5
            where       = nav_hide=0 AND no_search=0
            orderBy    = lastUpdated DESC
            as = myrecords
        }
    }

Fluidtemplate (listOfUpdatedPages.html):

<f:widget.paginate objects="{myrecords}" as="paginatedMenu"  configuration="{itemsPerPage: 5, insertAbove: 1, insertBelow: 0, maximumNumberOfLinks: 7 }">
    <ul>
        <f:for each="{paginatedMenu}" as="page">
            <li>
                <f:link.page pageUid="{page.data.uid}">{page.data.title}</f:link.page>
            </li>
        </f:for>
    </ul>
</f:widget.paginate>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.