stable

Clone or download

Read-only

Fix request #32296 Sort on kanban doesn't work well with filter

How to reproduce: * Create 60 cards (activity 01 -> 60) * Mass change the 60 cards to set a criteria (eg Importance => High) * Update a least one artifact to remove the criteria * Create a public report that select "Importance => High" named "Importance" * Select that report to be used as filter of the Kanban => When you load the Kanban, all the cards are listed in the approriate order Switch to "Importance" report => the cards are no longer sorted This last point must be fixed. Change-Id: I3c6f550203465182246826316dd8feadacbdff91

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +4 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/TrackerReport/FilteredItemCollectionRepresentationBuilder.php +8 −44 Go to diff View file
A plugins/tracker/include/REST/v1/Report/MatchingIdsOrderer.php +68 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ReportArtifactFactory.php +49 −9 Go to diff View file
M plugins/tracker/include/REST/v1/ReportsResource.class.php +4 −1 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +4 −1 Go to diff View file
M plugins/tracker/tests/unit/REST/ReportArtifactFactoryTest.php +102 −27 Go to diff View file
A plugins/tracker/tests/unit/REST/v1/Report/MatchingIdsOrdererTest.php +157 −0 Go to diff View file