Page MenuHomePhabricator

Calendar List view sorting happens after limits are applied
Closed, ResolvedPublic

Description

If I create a side panel on a dashboard with Upcoming Events from the calendar and limit it to 10 events, I get the 10 most recently entered events. My expectation was to get the next 10 events that will occur. It seems that the limit of 10 is applied before sorting, while I was expecting it to apply after sorting.

Revisions and Commits

Restricted Differential Revision

Event Timeline

jasonrumney raised the priority of this task from to Needs Triage.
jasonrumney updated the task description. (Show Details)
jasonrumney added projects: Calendar, Dashboards.
jasonrumney moved this task to Backlog on the Calendar board.
jasonrumney added a subscriber: jasonrumney.
epriestley added a subscriber: epriestley.

(I haven't tried to reproduce this.)

This seems very likely. I'll take a look.

I don't think there's anything about this specific to Dashboards.

epriestley added a revision: Restricted Differential Revision.Jul 13 2016, 4:39 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Jul 13 2016, 10:39 PM
epriestley added a commit: Restricted Diffusion Commit.