rewrite directory.query.compile_sql\n\nUses entitytaglink_tagarray and relations.all_materialized
Merge branch 'feature/tagarray-query' into develop