Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
Support "phriction.document.search" queries by "parentPaths" or "ancestorPaths" master
Summary: Ref T13090. Ref T13077. This adds `parentPaths` and `ancestorPaths` constraints to `phriction.document.query`. These should be a little more usable than the internal `slugPrefix` / `depth` stuff -- that's technically more powerful, but requires callers to know more slug normalization rules. We could perhaps expose `minDepth` / `maxDepth` in the future. Test Plan: Ran valid and invalid `parentPaths` and `ancestorPaths` queries for `/`, `aaa/`, `AAA/`, etc. Got sensible-seeming results. Maniphest Tasks: T13090, T13077 Differential Revision: https://secure.phabricator.com/D19125
Author epriestley Date (Feb 22, 2018, 8:49 PM UTC) Commit 4cb62ca0 4cb62ca0d6aeb8a61d6f8a33654d9033a5ffd5d6 Parent ffcfc046 ffcfc0465226a3cdb78c247f89d7590b7b4987fa