Issue Bug Closed

#46939Behaviour of getObjectCountByQuery and language

Eike Starkmann 04/05/13, 15:51 updated 01/01/19, 16:12

Description

I got the problem, that my paginator does not respect the actual language of the site. The amount if item are always all items (sys_language_uid (0,-1))

The Problem is that the paginator calls count() on Tx_Extbase_Persistence_QueryResultInterface to get the amount of items.
So that all comes down to getObjectCountByQuery in Tx_Extbase_Persistence_Storage_Typo3DbBackend. The functions is always working on sys_language_uid (0,-1) if RespectSysLanguage is set.

I’m not sure if changing the function to respect the language would cause any site effects.

Reviews 0

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