From a2eeee7eb795ea1a57f2b00b2de20d5eb0db99b4 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Fri, 29 Apr 2016 06:51:52 +0800 Subject: [PATCH] basic output for searching from lmdb2 added --- src/page.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/page.h b/src/page.h index ae2d9ea..de84492 100644 --- a/src/page.h +++ b/src/page.h @@ -1003,13 +1003,13 @@ namespace xmreg { } // read search_results.html - string search_results_html = xmreg::read(TMPL_SEARCH_RESULTS); + //string search_results_html = xmreg::read(TMPL_SEARCH_RESULTS); // add header and footer - string full_page = get_full_page(search_results_html); + string full_page = get_full_page(out_tmp); // render the page - return out_tmp; + return mstch::render(full_page, context); }