MantisBT: master dd66cd8c

Author Committer Branch Timestamp Parent
dregad dregad master 2013-03-18 19:01 master 44055f88
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