Task #81651

Hand over whole querybuilder object into list-modul hook

Added by Henrik Elsner about 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2017-06-21
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently only a part of the querybuilder object is handed over to the list-modul hook.

This should be changed for more flexibilty and better handling of the query (for example in the querybuilder extension).

Also deprecated/unnecessay parts are removed.


Related issues

Related to TYPO3 Core - Bug #82710: CSV export of records broken Closed 2017-10-09

Associated revisions

Revision 3c397ddd (diff)
Added by Frank Naegler about 2 years ago

[FEATURE] Cleanup buildQueryParameters hook

Add the QueryBuilder object to list module buildQueryParameters
hook allowing direct operation on this object including proper
named parameter usage and quoting.
The old array/string based parameter handling still works but
is deprecated.

Resolves: #81651
Releases: master
Change-Id: Ib17ba9383c29b5b48540203e6952b9670c6244f3
Reviewed-on: https://review.typo3.org/53263
Tested-by: TYPO3com <>
Reviewed-by: Frank Naegler <>
Reviewed-by: Henrik Elsner <>
Tested-by: Henrik Elsner <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 84b6c2ce (diff)
Added by Andreas Fernandez almost 2 years ago

[BUGFIX] Record list: Fix condition for unlimited records

This patch fixes a condition that fails when a CSV export in the record
list is requested. The maximum limit of records is set, if `$iLimit` is
larger than 0 to avoid a `LIMIT 0` query.

Resolves: #82710
Related: #81651
Releases: master
Change-Id: I49779e4fa4b31e44d5457f90939e6f96a41e497b
Reviewed-on: https://review.typo3.org/54341
Tested-by: TYPO3com <>
Reviewed-by: Stephan GroƟberndt <>
Reviewed-by: Henning Liebe <>
Reviewed-by: Joerg Boesche <>
Reviewed-by: Tymoteusz Motylewski <>
Tested-by: Tymoteusz Motylewski <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

History

#1 Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

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

#2 Updated by Henrik Elsner about 2 years ago

  • Description updated (diff)

#3 Updated by Frank Naegler about 2 years ago

  • Category set to Code Cleanup
  • Assignee set to Frank Naegler
  • Target version set to 9.0

#4 Updated by Gerrit Code Review about 2 years ago

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

#5 Updated by Gerrit Code Review about 2 years ago

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

#6 Updated by Gerrit Code Review about 2 years ago

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

#7 Updated by Gerrit Code Review about 2 years ago

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

#8 Updated by Frank Naegler about 2 years ago

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

#9 Updated by Christian Kuhn almost 2 years ago

  • Related to Bug #82710: CSV export of records broken added

#10 Updated by Benni Mack 10 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF