-
Etienne Allovon authored
Following upgrade to sqlalchemy 1.0 (from 0.9) the _find_valid_directories dao function was not working anymore. This function was trying to edit the result of the query. This is not possible anymore in sqlalchemy 1.0 See https://projects.xivo.solutions/issues/1150#note-21 This fix do what was done in python in sql with a case to fill in the dirtype to 'ldap' when having a ldapfilter uri.
3b04d3b7