1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2025-06-02 07:24:19 +00:00

Full-text search: Change xo.page_guid to xo_page_guid (actual commit)

This commit is contained in:
gnosygnu 2017-03-24 08:17:56 -04:00
parent 477929e559
commit 7269befb14
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,8 @@ public class Xofulltext_indexer_mgr {
Db_rdr rdr = conn.Exec_rdr(Db_sql_.Make_by_fmt(String_.Ary
( "SELECT page_id, page_score, page_namespace, page_title, page_html_db_id"
, "FROM page"
, "WHERE page_namespace IN ({0});"), args.ns_ids));
, "WHERE page_namespace IN ({0})"
), args.ns_ids));
while (rdr.Move_next()) {
// read vars
int page_namespace = rdr.Read_int("page_namespace");

View File

@ -21,7 +21,7 @@ public class Xopg_tag_wtr_ {
head_tags.Add(Xopg_tag_itm.New_js_file(css_dir.GenSubFil_nest("String_.js")));
}
public static void Add__tab_uid(Xopg_tag_mgr head_tags, Guid_adp page_guid) {
head_tags.Add(Xopg_tag_itm.New_js_code("xo.page_guid = '" + page_guid.To_str() + "'"));
head_tags.Add(Xopg_tag_itm.New_js_code("xo_page_guid = '" + page_guid.To_str() + "'"));
}
public static void Add__xocss(Xopg_tag_mgr head_tags, Io_url http_root) {
Io_url css_dir = http_root.GenSubDir_nest("bin", "any", "xowa", "html", "res", "src", "xowa", "xocss", "core");