webmcp
diff libraries/mondelefant/mondelefant.lua @ 6:5cba83b3f411
Version 1.0.6
Bugfix: class_prototype:add_reference{...} uses now qualified names in SQL queries to allow JOINs
Fixes in the documentation of slot.put_into and trace.debug
Bugfix: class_prototype:add_reference{...} uses now qualified names in SQL queries to allow JOINs
Fixes in the documentation of slot.put_into and trace.debug
author | jbe/bsw |
---|---|
date | Fri Jan 22 12:00:00 2010 +0100 (2010-01-22) |
parents | 5e32ef998acf |
children | 3a6fe8663b26 |
line diff
1.1 --- a/libraries/mondelefant/mondelefant.lua Sat Jan 02 12:00:00 2010 +0100 1.2 +++ b/libraries/mondelefant/mondelefant.lua Fri Jan 22 12:00:00 2010 +0100 1.3 @@ -870,7 +870,7 @@ 1.4 ids 1.5 } 1.6 else 1.7 - selector:add_where{'"$" IN ($)', {that_key}, ids} 1.8 + selector:add_where{'$."$" IN ($)', {model:get_qualified_table()}, {that_key}, ids} 1.9 end 1.10 if options.order == nil and default_order then 1.11 selector:add_order_by(default_order)