Issue #3361730 by Berdir, longwave, DamienMcKenna, borisson_, catch: Rename EntityListBuilder::getQuery() to something less generic (cherry picked from commit f0188fb3)