MantisBT: master eb40e064

Author Committer Branch Timestamp Parent
Carlos Proensa Carlos Proensa master 2016-09-26 14:34 master af626ef9
Changeset

Fix retrieving the updated version of a sotred filter

The filter active for current user is stored as an unnamed filter. But
when it was loaded from a stored "named" filter, we keep track of the
source_query_id, to be able to show in filter box, the name of that
stored filter that is in use.
But, now that stored filters can be edited, this user cached version of
filter may differ if the original named filter is modified.

Now, when loading the current active filter, if there is a
source_query_id referencig a filter id, load those filter values
instead.

mod - core/filter_api.php Diff File
mod - core/user_api.php Diff File