Project

General

Profile

Actions

Task #92065

closed

DatabaseRecordList: Unify place for table related queries

Added by Daniel Windloff over 3 years ago. Updated over 3 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 #1

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65402

Actions #2

Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65402

Actions #3

Updated by Gerrit Code Review over 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65402

Actions #4

Updated by Daniel Windloff over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Oliver Bartsch over 2 years ago

  • Related to Bug #96378: Exception when adding additional where clause in RecordListGetTable hook added
Actions

Also available in: Atom PDF