SELECT * FROM `wggithub_repositories` WHERE (`repo_user` = 'XoopsModulesArchive' AND `repo_status` = '2' OR `repo_status` = '3' AND `repo_prerelease` = '1' OR `repo_release` = '1')
but as the parentheses are missing this query will not give the result you want.
Therefore the question is, how can we force XOOPS to add the necessary parentheses?
The solution is to create a separate CriteriaCompo for each block and combine them in a new CriteriaCompo
SELECT C* FROM `wggithub_repositories` WHERE ((`repo_user` = 'XoopsModules25x') AND (`repo_status` = '2' OR `repo_status` = '3') AND (`repo_prerelease` = '1' OR `repo_release` = '1'))