From 42029e2ecdb3c68f10a567e0724490c726f70f14 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 10 Apr 2014 07:23:16 +0000 Subject: Changes to use new htmlviewfunctions functions and make searchdatabase a proper form --- kamailio-controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kamailio-controller.lua') diff --git a/kamailio-controller.lua b/kamailio-controller.lua index 9397359..985eb39 100644 --- a/kamailio-controller.lua +++ b/kamailio-controller.lua @@ -40,7 +40,7 @@ function mymodule.createdatabase(self) end function mymodule.searchdatabase(self) - return self.model.search_database(self.clientdata.id, self.clientdata.value, self.clientdata.comparison) + return self.handle_form(self, self.model.get_search_database, self.model.search_database, self.clientdata, "Search", "Search Database") end -- Use acf-db to allow editing of the database -- cgit v1.2.3