MantisBT: master 60c5f7bf

Author Committer Branch Timestamp Parent
dregad dregad master 2026-07-18 06:54 master 778c834f
Affected Issues  0033992: RSS should have been sorted by `date_submitted` but failed due to invisibility
Changeset

Allow filters to sort on invisible columns

New filter_get_sort_properties_array() API function adds a new
$p_visible_only parameter to determine if sorting should be restricted
to visible columns (default) or allowed on all columns.

Existing filter_get_visible_sort_properties_array() becomes a proxy for
the new function.

Add $visible_only property to BugFilterQuery class, initialized in
Constructor via $p_config parameter, defaulting to true. It is used in
the build_order_by() method in the filter_get_sort_properties_array()
call.

filter_get_bug_rows() gets a new $p_visible_only parameter, passed on
to BugFilterQuery's constructor.

Fixes 0033992

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