Contributions 1 min read

# Query builder – missing condition variables

Check out one of our pull request that's now officially a part of Pimcore's code!

Last updated on 29 August, 2025

## Key takeaways

1. Running the query builder from a Pimcore listing caused an error because conditional parameters and types were not carried over from the listing.
2. Factory's fix adds the conditional parameters and types to the query everywhere the query builder is used.
3. With the fix merged into Pimcore's code, developers can execute listing queries without errors.

## **What was the issue?**

Executing query builder from listing would result in error because conditional parameters and types weren’t taken over from listing.

## **How did you solve it?**

Found all places where the query builder was used and added conditional parameters and types to the query.

## **Why is this fix important?**

It’s important because now developers can execute listing queries without any issues.

## **How does it feel to contribute to a platform such as Pimcore?**

Contributing to Pimcore feels awesome because my code will now be an official part of Pimcore! Also, these contributions will make life easier for me and other developers that are using Pimcore.

And if you want to check out this [pull request](https://github.com/pimcore/pimcore/pull/8271), just follow the link!

## Related

[Contributions **Fixing export functionality when exporting zero** Read more about the latest pull request we've made regarding the development of Pimcore platform! Our Pimconaut, Tomislav, made sure that users can now export to XLIFF any… 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/fixing-export-functionality) [Contributions **Unit listing – missing condition variables fix** Check out one of our latest pull requests submitted by our Pimcore developers! 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/unit-listing-missing-condition-variables-fix) [Contributions **Fixing the invisible field inside block element** Another Pimcore fix is coming straight from Factory! Our Pimcore developer, Dino, recently fixed the issue related to invisible fields inside block elements. Visit us and read more… 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/fixing-the-invisible-field)

---

Source: https://factory.dev/pimcore-knowledge-base/contributions/query-builder-missing-condition-variables
