getData:Unknown column 'when.animal' in 'field list' SQL=SELECT SQL_CALC_FOUND_ROWS DISTINCT `species`.`name` AS `species___name`, `species`.`name` AS `species___name_raw`, `species`.`Frequency` AS `species___Frequency`, `species`.`Frequency` AS `species___Frequency_raw`, `species`.`id` AS `species___id`, `species`.`id` AS `species___id_raw`, `when`.`when` AS `when___when`, `when`.`when` AS `when___when_raw`, `when`.`comment` AS `when___comment`, `when`.`comment` AS `when___comment_raw`, `when`.`animal` AS `when___animal`, `species`.`id` AS slug , `species`.`id` AS `__pk_val` FROM `species` LEFT JOIN `when` AS `when` ON `when`.`animal` = `species`.`name` LEFT JOIN `species` AS `species_0` ON `species_0`.`name` = `when`.`animal` ORDER BY `species`.`name` ASC,`species`.`name` ASC LIMIT 0, 10