Homec4science

Call array_unique() in Handle/Object queries

Authored by epriestley <git@epriestley.com> on Sep 12 2013, 23:48.

Description

Call array_unique() in Handle/Object queries

Summary: I think the old thing did this, but this makes queries a bit less ridiculous. For example, secure.phabricator.com currently issues a query for 664 handles on my task list, but only 73 of them are unique (basically, all the projects plus all the authors). This proably is slightly good for performance, but mostly makes the "Services" tab manageable.

Test Plan: Looked at Maniphest and some other pages, saw handles and objects where they were expected to be.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D6959

Details

Committed
epriestley <git@epriestley.com>Sep 12 2013, 23:48
Pushed
aubortJan 31 2017, 17:16
Parents
rPHddfc6bbc9e5c: Service "Group by: Project" in Maniphest out of a local index
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH926b47ef7096: Call array_unique() in Handle/Object queries (authored by epriestley <git@epriestley.com>).Sep 12 2013, 23:48