mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Fix searching legalpad documents by contributors
Summary: Found in a change submitted to Phorge (https://we.phorge.it/D25018#inline-231), this fixes a typo in populating search the `contributorPHIDs` constraint in the Legalpad search engine. Currently when trying to search legalpad documents by contributor an error is encountered: ```lang=console Array for %Ls conversion is empty. Query: contributor.dst IN (%Ls) ``` Test Plan: I searched for legalpad documents based on a contributor and got back correct results. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D21719
This commit is contained in:
parent
09c3c7d879
commit
3b2868e155
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ final class LegalpadDocumentSearchEngine
|
|||
}
|
||||
|
||||
if ($map['contributorPHIDs']) {
|
||||
$query->withContributorPHIDs($map['creatorPHIDs']);
|
||||
$query->withContributorPHIDs($map['contributorPHIDs']);
|
||||
}
|
||||
|
||||
if ($map['creatorPHIDs']) {
|
||||
|
|
Loading…
Reference in a new issue