MantisBT: master-1.2.x c9bc0646

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2013-03-18 19:01 master-1.2.x d16988c3
Changeset

Filter api: systematic use JOIN when building SQL

Do not join tables using the where clause, for better readability and
avoiding risk of issues with operator precedence and 'any condition'
filtering mode.

This commit also removes an unnecessary LEFT JOIN between the bugnote
and bugnote_text tables; since this is a strict 1:1 relationship, an
inner join is sufficient and yields better performance.

mod - core/filter_api.php Diff File