Project

General

Profile

Actions

Bug #80176

closed

fluid widget paginate - pagination links take no action

Added by René Schäfer about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2017-03-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
fluid, widget, paginate, pages
Complexity:
Is Regression:
No
Sprint Focus:

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.paginate>.
The widget works fine as listing several page links and a bunch of numbers to paginate that hole page list.

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>


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #79922: fluid widget paginate - pagination links take no actionClosed2017-02-20

Actions
Actions #1

Updated by Wouter Wolters about 7 years ago

  • Status changed from New to Rejected

Rejecting this as a duplicate ticket. Please add your comments to #79922

Actions #2

Updated by Riccardo De Contardi about 5 years ago

  • Related to Bug #79922: fluid widget paginate - pagination links take no action added
Actions

Also available in: Atom PDF