Explorar el Código

Fix to another query on orders.

mingodad hace 11 años
padre
commit
2c2b76dc15
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SquiLu-ourbiz/ourbiz.nut

+ 1 - 1
SquiLu-ourbiz/ourbiz.nut

@@ -1323,7 +1323,7 @@ local function entities_sql_search_list(qs_tbl : table, post_tbl : table){
 			if (so.products){
 				mf.write(" and e.id in ( select entity_id from orders where id in (",
 					" select order_id from orders_lines where ",
-					" description like "", search_str, "" order by id desc )) ");
+					" description like '", search_str, "' order by id desc )) ");
 			}
 			else
 			{