When the MPTT search returns no row, the SQL query generated has an invalid syntax because it uses an empty Or() clause. We replace this empty Or() by a Literal(False) to select nothing. issue5011 review18651002
When the MPTT search returns no row, the SQL query generated has an invalid syntax because it uses an empty Or() clause. We replace this empty Or() by a Literal(False) to select nothing. issue5011 review18651002