Task #92065

DatabaseRecordList: Unify place for table related queries

Added by Daniel Windloff 5 months ago. Updated about 1 month 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.

#1

Updated by Gerrit Code Review 5 months 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

#2

Updated by Gerrit Code Review 5 months 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

#3

Updated by Gerrit Code Review 5 months 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

#4

Updated by Daniel Windloff 5 months ago

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

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF