silverstripe / silverstripe-framework

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

Refactor `Debug::require_developer_login` to use the ORM instead of raw SQL #10998

Open sabina-talipova opened 11 months ago

sabina-talipova commented 11 months ago

Description

It is necessary to partially update the code and implement the Datalist::filter instead of using a row SQL "where" clause.

See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Dev/Debug.php#L215-L229

GuySartorelli commented 11 months ago

@sabina-talipova the title doesn't match the description. I think it got mixed up with https://github.com/silverstripe/silverstripe-framework/issues/10997

sabina-talipova commented 11 months ago

Updated.