1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-22 11:39:03 +01:00
phorge-phorge/src/applications/drydock
June Rhodes e55a197dd6 Fix issues where Drydock queries didn't work correctly with empty arrays
Summary: Ref T2015.  This fixes issues where the Drydock queries wouldn't filter (or throw an exception) when passed empty arrays for their `with` methods.  In addition, this also adds `array_unique` to the resource and lease subqueries so that we don't pull in a bunch of stuff if logs or leases have the same related objects.

Test Plan: Tested it by using DarkConsole on the log controller.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: joshuaspence, Korvin, epriestley

Maniphest Tasks: T2015

Differential Revision: https://secure.phabricator.com/D10879
2015-08-24 21:23:04 +10:00
..
application Show when objects have a non-default policy 2015-06-22 11:46:59 -07:00
blueprint Use PhutilClassMapQuery 2015-07-07 22:51:57 +10:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
constants Extend from Phobject 2015-06-15 18:02:27 +10:00
controller Update Drydock for handleRequest 2015-07-27 07:56:52 -07:00
customfield Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
editor Modularize mail tags 2014-08-12 12:28:41 -07:00
interface Drop Windows-specific SSH code 2015-06-19 15:05:39 +10:00
management phtize all the things 2015-05-22 21:16:39 +10:00
phid Improve Drydock log search engine 2015-08-24 21:13:20 +10:00
query Fix issues where Drydock queries didn't work correctly with empty arrays 2015-08-24 21:23:04 +10:00
storage Improve Drydock log search engine 2015-08-24 21:13:20 +10:00
typeahead Improve Drydock log search engine 2015-08-24 21:13:20 +10:00
util Fix another undeclared property 2015-06-15 07:54:12 -07:00
view Improve Drydock log search engine 2015-08-24 21:13:20 +10:00
worker phtize all the things 2015-05-22 21:16:39 +10:00