Fixes T11113. On the 2nd+ page, we could end up with an ambiguous id WHERE clause because we don't define a primary table alias on this query. Define one.
Details
Details
- Reviewers
chad - Maniphest Tasks
- T11113: Query error in Conpherence when searching for specific user
- Commits
- rPa653d4d9b3e1: Give ConpherenceThreadQuery a primary table alias
Changed SearchEngine to return pages of size 5, searched for my threads, toggled to second page, no exception.
Used DarkConsole to examine that second-page query, saw that it had thread.id explicitly instead of id implicitly.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- conq1
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 12562 Build 15940: Run Core Tests Build 15939: arc lint + arc unit