Changes for plugins/content/content.cpp: 6 added lines, 1 removed line.
Original line number
Diff line number
Diff line
@@ -715,7 +715,12 @@ namespace blogi {
dbpp::SQLsql;
dbpp::DBResultres;
sql<<"SELECT title,descrition,id FROM content WHERE title @@ to_tsquery('"<<sql.escaped(buf,word)<<"') OR descrition @@ to_tsquery('"<<sql.escaped(buf,word)<<"') OR text @@ to_tsquery('"<<sql.escaped(buf,word)<<"');";
sql<<"SELECT title,descrition,id FROM content WHERE title @@ to_tsquery('"