Defect #32769
Unable to sort projects table by custom field
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Projects | |||
Target version: | 4.1.1 | |||
Resolution: | Fixed | Affected version: | 4.1.0 |
Description
Hi,
On main project page, I'm able to display all projects and subprojects in a table format with filters on Custom Fields. However, I cannot sort project on this fields.
I can click the column title, it displays the arrow indicating that sorting is ascending or descending on this column, but the order of project in the table is not reflected accordingly.
Sorting on standard fields (Name, ID, Description) is OK.
I also tested to set the order in a saved report, behaviour is the same. Tested with following field types: Text, integer, decimal, date, boolean, none of them is working.
Environment:
Redmine version 4.1.0.stable
Ruby version 2.3.5-p376 (2017-09-14) [x86_64-linux]
Rails version 5.2.4.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.9.5
Git 2.11.0
Filesystem
Redmine plugins:
periodictask 4.1.0
Best regards,
Yann
History
#1
Updated by Marius BALTEANU about 1 year ago
- Status changed from New to Confirmed
- Assignee set to Marius BALTEANU
- Target version set to 4.1.1
#2
Updated by Marius BALTEANU about 1 year ago
- File 0001-Fix-sort-projects-table-by-custom-field.patch
added
- Assignee deleted (
Marius BALTEANU)
Here is the patch.
#3
Updated by Go MAEDA about 1 year ago
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the fix. Thank you.