Return type IDs instead of slugs in ListProcessElements

Erwan Rouchet
2022-04-11T13:51:16Z

Refs requests#640

ListProcessElements is suffering from poor performance, and the join on ElementType appears to be an important factor. By returning type IDs instead of type slugs, we can avoid joining on this table entirely, which removes an index scan and a nested loop.