HomePhabricator

Make sure topiclist queries always join against workflow table

Description

Make sure topiclist queries always join against workflow table

This is needed because they sometimes sort by workflow_last_update_timestamp.
The code tried to cleverly only add this join exactly when needed,
but this sometimes failed and caused database query errors when
vtloffset-dir=rev was passed in.

Reverse sorting still doesn't work, but at least this way it doesn't
throw errors and the way that the timestamp field is added isn't
so fragile.

Bug: T121644
Change-Id: I5453311986d9c4a43b1492f894294cbb47056abf
(cherry picked from commit dbe08075e857d630dee91af413790d824e00f556)

Details

Provenance
CatropeAuthored on Mar 22 2017, 1:40 AM
Parents
rEFLWbdab9fe26bad: Merge "New editor switching widget"
Branches
Unknown
Tags
Unknown
References
refs/changes/88/344188/1
ChangeId
I5453311986d9c4a43b1492f894294cbb47056abf