Project

General

Profile

Actions

Task #92065

closed

DatabaseRecordList: Unify place for table related queries

Added by Daniel Windloff over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Code Cleanup
Target version:
-
Start date:
2020-08-21
Due date:
% Done:

100%

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

Description

Move table related query parts to getQueryBuilder:
  • Move the hook "getTable" to getQueryBuilder
  • Move query constraints from getTable to getQueryBuilder
  • Set field list as parameter to getQueryBuilder
  • Set limit, offset, addSorting as add. parameters to getQueryBuilder
  • Move code from prepareQueryBuilder to getQueryBuilder
Related to the usage of getQueryBuilder:
  • Use getQueryBuilder to calculate if a table has any result.
  • Use getQueryBuilder to calculate the total number of hits.

Move getSearchString to makeSearchString.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #96378: Exception when adding additional where clause in RecordListGetTable hookClosedOliver Bartsch2021-12-17

Actions
Actions

Also available in: Atom PDF