#15: issue experts workflow now very slick

This commit is contained in:
Simon Brooke 2018-09-17 15:14:41 +01:00
parent 2d4f7a897d
commit adcdacc6c1
10 changed files with 172 additions and 59 deletions

View file

@ -53,6 +53,7 @@ FROM followuprequests as request,
where not exists (select * from followupactions as action
where action.request_id = request.id
and action.closed = true)
and request.locked_by is null
and request.elector_id = electors.id
and request.visit_id = visits.id
and visits.address_id = addresses.id