nagasurendra commited on
Commit
94cafa9
·
verified ·
1 Parent(s): 328af5b

Update menu.py

Browse files
Files changed (1) hide show
  1. menu.py +1 -1
menu.py CHANGED
@@ -78,7 +78,7 @@ def fetch_menu_data(selected_category, user_email):
78
  SELECT Name, Price__c, Description__c, Image1__c, Image2__c,
79
  Veg_NonVeg__c, Section__c, Total_Ordered__c
80
  FROM Custom_Dish__c
81
- WHERE CreatedDate >= LAST_N_DAYS:7 AND Total_Ordered__c > 10
82
  """
83
  custom_dish_result = sf.query_all(custom_dish_query)
84
  custom_dishes = custom_dish_result.get('records', [])
 
78
  SELECT Name, Price__c, Description__c, Image1__c, Image2__c,
79
  Veg_NonVeg__c, Section__c, Total_Ordered__c
80
  FROM Custom_Dish__c
81
+ WHERE CreatedDate >= LAST_N_DAYS:7
82
  """
83
  custom_dish_result = sf.query_all(custom_dish_query)
84
  custom_dishes = custom_dish_result.get('records', [])