diff --git a/core/list_ingredients_simple.php b/core/list_ingredients_simple.php index c36d1104..44a48e28 100644 --- a/core/list_ingredients_simple.php +++ b/core/list_ingredients_simple.php @@ -21,7 +21,7 @@ }else{ $t = "ingredients"; - $filter = "WHERE name LIKE '%$s%' OR cas LIKE '%$s%' OR INCI LIKE '%$s%'"; + $filter = "WHERE name LIKE '%$s%' OR cas LIKE '%$s%' OR INCI LIKE '%$s%' OR odor LIKE '%$s%'"; } $q = mysqli_query($conn, "SELECT ingredients.id,name,INCI,cas,type,odor,physical_state,profile FROM $t $filter ORDER BY name ASC");