MantisBT: master-1.2.x e1afe107

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2009-07-21 10:37 master-1.2.x 07bb3fea
Affected Issues  0010746: Viewing Issues (start - end/total) does not show correct values
Changeset

Fix 0010746: view issue range incorrect on first view

When an anonymous user or someone else without a saved filter state
views the bug list for the first time, current_user_get_bug_filter()
will fail. This led to the bug view range not working (as it didn't know
how many bugs are being shown per page).

In such cases where a per-user filter is not yet known, we should use
the default filter. Note that this check may be better placed in
current_user_get_bug_filter() if it is deemed safe to do so (it changes
the output of the function).

mod - view_all_inc.php Diff File