Issue Bug Closed

#43262Prevent statements with count() and order by parts for PostgrSQL

Nicole Hummel 11/24/12, 01:02 updated 10/17/17, 23:31

Description

In PostgreSQL it is not allowed to use a COUNT statement with an ORDER BY statement as long as the field for sorting not available in GROUP BY clause. Therefor we have to parse the SQL and drop ORDER BY clause for selections with a count.

IMHO this is an important fix as otherwise it is not possible the use all the features from extbase. I got an error while using the Backend user extension provided by the current master.

Reviews 1