Skip to content

fix last contact attempt sort

Bengfort requested to merge fix-last-contact-attempt-sort into master

status_not_reached is supposed to be a boolean 0 or 1. Instead it is 0 or the number of revisions because of some join.

@goettel thought he remembered that we had worked on this before, but the only vaguely related MRs I could find were !1098 (merged) amd !1138 (merged).

This bug is very similar to !1280 (merged) and !1276 (merged). We should probably be more diligent about joins and distinct.

Edited by Bengfort

Merge request reports