pyfarm/pyfarm-master — pull request #197 by guidow (2014-10-07 14:02:36+00:00)
Title: Fix sorting jobs by time_submitted and state

After joining with the tasks table multiple times, the state and
time_submitted columns become ambiguous, which makes sorting by them a
bit more involved.