When "entity type" : "all bundles" is selected, an empty list is returned.

#1 1257284-all-bundles.patch495 bytesjsacksick


jsacksick’s picture

new495 bytes

This was caused because the target_bundles array was filled even if all bundles was selected.
Because of that, an entityCondition('bundle') was added to the entityFieldQuery() object.
As a consequence, an empty result was returned.
Corrected by adding a condition to check if bundle isn't empty.

Damien Tournoud’s picture

Status:Needs review» Fixed

Thanks for your report. Merged a slightly different fix in b5c6e31.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.