Issue Bug Closed

#17510stdWrap.numRows not DBAL safe

Martin Kutschker 08/09/07, 11:23 updated 09/06/13, 09:16

Description

The problem is that a user may use a copy of styles.content.get to set up a query. This will set an order clause. But in PostgreSQL (and probably other RDBMs) any column in the order clause must be either used in an aggragte funtion (where clause) or in the group-by clause.

To fix this issue the function should unset the “sorting” poperty as with a COUNT the ordering is irrelevant.

(issue imported from #M6109)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.