liquid_feedback_frontend

diff model/area.lua @ 274:aec9df5b4cd3

More optical enhancements and repositioning of elements
author bsw
date Sun Feb 12 12:20:19 2012 +0100 (2012-02-12)
parents 1b8d51e21614
children 808269b7f41c
line diff
     1.1 --- a/model/area.lua	Wed Feb 08 18:49:22 2012 +0100
     1.2 +++ b/model/area.lua	Sun Feb 12 12:20:19 2012 +0100
     1.3 @@ -69,10 +69,10 @@
     1.4  function Area:build_selector(args)
     1.5    local selector = Area:new_selector()
     1.6    if args.active ~= nil then
     1.7 -    selector:add_where{ "active = ?", args.active }
     1.8 +    selector:add_where{ "area.active = ?", args.active }
     1.9    end
    1.10    if args.unit_id ~= nil then
    1.11 -    selector:add_where{ "unit_id = ?", args.unit_id }
    1.12 +    selector:add_where{ "area.unit_id = ?", args.unit_id }
    1.13    end
    1.14    return selector
    1.15  end

Impressum / About Us