MantisBT: master-1.2.x 1c9c8e2e

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-05-24 05:52 master-1.2.x b8d4b503
Changeset

Optimize filter_db_get_available_queries()

This function was retrieving a list of filters then, through a for
loop, keeping only the records visible by the current user.

The revised code performs the filtering directly in the SQL.

The same correction was made to mci_filter_db_get_available_queries()

mod - api/soap/mc_api.php Diff File
mod - core/filter_api.php Diff File