src/EditRecipeTab5.cpp

changeset 299
8021e09ab6a3
parent 284
33bb98c33e6a
child 301
fe6346211b5b
--- a/src/EditRecipeTab5.cpp	Sun Jun 19 11:56:02 2022 +0200
+++ b/src/EditRecipeTab5.cpp	Sun Jun 19 13:34:18 2022 +0200
@@ -310,7 +310,7 @@
      */
     QString sql = "SELECT name,laboratory,product_id,type,form,min_temperature,max_temperature,flocculation,attenuation,"
 	          "cells,tolerance,sta1,bacteria,harvest_top,harvest_time,pitch_temperature,pofpos,zymocide,"
-		  "gr_hl_lo,sg_lo,gr_hl_hi,sg_hi,cost FROM inventoryeasts ";
+		  "gr_hl_lo,sg_lo,gr_hl_hi,sg_hi,cost FROM inventory_yeasts ";
     if (instock)
         sql.append("WHERE inventory > 0 ");
     sql.append("ORDER BY laboratory,product_id,name");
@@ -406,7 +406,7 @@
 
     this->yselectEdit->setCurrentIndex(-1);
     this->yselectEdit->clear();
-    QString sql = "SELECT name,laboratory,product_id,inventory FROM inventoryeasts ";
+    QString sql = "SELECT name,laboratory,product_id,inventory FROM inventory_yeasts ";
     if (val)
         sql.append("WHERE inventory > 0 ");
     sql.append("ORDER BY laboratory,product_id,name");

mercurial