Project

General

Profile

Actions

Feature #91917

closed

Web List filter record_type

Added by varioous OG over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2020-08-02
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Hello,

it would be great to generate a Module and filter them by record_type (configured in TCA).
Backend Module is registered and route is by

    public function bookAction() {
        $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
        $uri = $uriBuilder->buildUriFromRoute('web_list', array(
            'id' => 79,
            'table' => 'tx_vatemplate_domain_model_book',
             #filter by record type -> currently not possible
            'record_type' => '1'
        ));

        $this->redirectToUri($uri);
    }

Best would be to add a custom where clause like ' AND book_type=1'

Thanks and best regards,
Harald


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Story #82206: list module enhancements/bugfixesIn Progress2005-07-21

Actions
Actions #1

Updated by Daniel Windloff about 4 years ago

  • Status changed from New to Needs Feedback

Hello Harald,

that doesn't do exactly as you suggest, but the behavior is quite similar:

The extension querybuilder https://extensions.typo3.org/extension/querybuilder/ could be used to set a filter for the list module rows.

Furthermore, I suggest having a look to the following hook, as it may solve your issue:
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.2/Feature-83740-CleanupOfAbstractRecordListBreaksHook.html
This hook could be used to add additional contraints e.g. book_type=1.

Best regards,
Daniel

Actions #2

Updated by Daniel Windloff about 4 years ago

  • Related to Story #82206: list module enhancements/bugfixes added
Actions #3

Updated by Christian Kuhn almost 3 years ago

  • Status changed from Needs Feedback to Closed

hey. i hope it's ok to close here: the querybuilder extension adds functionality to the list module to allow fine grained filters, it probably solves the needs outlined here.

Actions

Also available in: Atom PDF