silverstripe / silverstripe-framework

Silverstripe Framework, the MVC framework that powers Silverstripe CMS
https://www.silverstripe.org
BSD 3-Clause "New" or "Revised" License
720 stars 823 forks source link

Fixed fields are hardcoded in `DataQuery::getFinalisedQuery()` - but is configurable on `DataObject`. #10958

Closed GuySartorelli closed 11 months ago

GuySartorelli commented 11 months ago

DataObject.fixed_fields is configurable. It is extremely edge-case to want to modify the values in this array, but since it's configurable, we need to respect the configuration and not hard code references to these fields when they are meant to be treated uniformly.

PRs

sabina-talipova commented 11 months ago

PR's merged. It will be automatically tagged in next CI round.