Thread search with `message_has_error` should only return threads containing messages with failure of which the current user is author. Follow up on https://github.com/odoo/odoo/pull/52403 that changed how sub-queries were built. The current fix using `_search` is a non-ideal solution until task-2366651 brings a new domain operator for this use case. task-2409543 closes odoo/odoo#63231 X-original-commit: 337397eec5570fc9b3938d655a1ec0e4efcd73d9 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>