summaryrefslogtreecommitdiffstats
path: root/logfiles-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'logfiles-controller.lua')
-rw-r--r--logfiles-controller.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/logfiles-controller.lua b/logfiles-controller.lua
index 2af76ee..58fb0f0 100644
--- a/logfiles-controller.lua
+++ b/logfiles-controller.lua
@@ -13,7 +13,7 @@ delete = function (self)
end
view = function (self)
- return self.model.get_filedetails(self.clientdata.name or "")
+ return self.model.get_filedetails(self.clientdata.name or "", self.clientdata.grep)
end
download = function (self)
@@ -29,5 +29,5 @@ tail = function (self)
if self.clientdata.offset then
self.conf.viewtype = "ajax"
end
- return self.model.tail(self.clientdata.name, self.clientdata.offset)
+ return self.model.tail(self.clientdata.name, self.clientdata.offset, self.clientdata.grep)
end