View Issue Details

IDProjectCategoryView StatusLast Update
0034460mantisbtfilterspublic2024-08-25 04:31
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version2.26.3Fixed in Version2.26.3 
Summary0034460: Sorting by "overdue" column does not work if "due_date" is not visible
Description

In View Issues page, it is possible to click on the overdue column's header to change the sort order, which should effectively sort the Issues based on due_date, but it only works if the due_date column is also visible. If not, the action has no effect.

TagsNo tags attached.

Relationships

related to 0034442 closeddregad Wrong display of some column titles on "View Issues" page 
related to 0034458 closeddregad Better icon for "overdue" column 

Activities

Related Changesets

MantisBT: master-2.26 ff0c69b3

2024-05-20 08:21

dregad


Details Diff
Make "overdue" column sortable

Until now, sorting the Issues list by clicking on the overdue column
header only worked if the due_date column was also visible.

To fix the problem, we add due-date to the list of visible columns in
filter_get_visible_sort_properties_array() function if it is not already
part of the list.

Fixes 0034460
Affected Issues
0034460
mod - core/columns_api.php Diff File
mod - core/filter_api.php Diff File