Homestyx hydra
Diffusion hydra e55a197dd683

Fix issues where Drydock queries didn't work correctly with empty arrays

Description

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

Details

Provenance
June RhodesAuthored on Aug 24 2015, 7:23 AM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:0d4f9363a0f2: Improve Drydock log search engine
Branches
Unknown
Tags
Unknown

Event Timeline