MantisBT: master ec75a98d

Author Committer Branch Timestamp Parent
cproensa dregad master 2020-01-19 11:49:11 master 50fe2448
Affected Issues  0024600: BugFilterQuery - issue? - trying to add join & where conditions
Changeset

BugFilterQuery check for later modifications

The internal sql query is built and ready after the constructor method,
and regenerated after changing query type with set_query_type().
However, if externally adding clauses throguh add_join(), add_where(),
etc, those new parts are not translated to the final query
automatically.

Add a flag that keeps track of the modified state, so if the query is
executed after modifications, the internal sql is rebuilt.

Fixes: 0024600

mod - core/classes/BugFilterQuery.class.php Diff File