liquid_feedback_frontend

view app/main/draft/show.lua @ 136:166fd10c7e81

fixes bug #234

test if the constructed selector first before adding a paginator
author Daniel Poelzleithner <poelzi@poelzi.org>
date Tue Oct 05 21:51:59 2010 +0200 (2010-10-05)
parents 3bfb2fcf7ab9
children cc7650c7053f
line source
1 local draft = Draft:new_selector():add_where{ "id = ?", param.get_id() }:single_object_mode():exec()
3 execute.view{
4 module = "draft",
5 view = "_show",
6 params = { draft = draft }
7 }

Impressum / About Us