summaryrefslogtreecommitdiff
path: root/server/src/widgetgenerator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r--server/src/widgetgenerator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc
index 0c24999..7f8e8c4 100644
--- a/server/src/widgetgenerator.cc
+++ b/server/src/widgetgenerator.cc
@@ -91,13 +91,13 @@ static void get_fields(Widget &widget, Fieldnames &fields)
}
std::string widgetgenerator(std::string cpr, std::string sessionid,
- Macro &macro,
- LUAQueryMapper &mapper, Database &db)
+ Macro &macro, LUAQueryMapper &mapper, Database &db,
+ time_t oldest)
{
Fieldnames fields;
get_fields(macro.widgets, fields);
- Values values = db.getValues(cpr, fields, sessionid);
+ Values values = db.getValues(cpr, fields, sessionid, oldest);
return getWidgetString(macro, macro.widgets, " ", mapper, values);
}