1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Page_sync: Implement 'Pages to sync' filter

This commit is contained in:
gnosygnu
2016-11-17 10:02:54 -05:00
parent d216562fba
commit a38c0e834e
4 changed files with 156 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ public class Xosync_read_mgr {
Xoapi_sync_api sync_api = wiki.App().Api_root().Addon().Bldr().Sync();
if (!sync_api.Auto_enabled()) return;
if (!sync_api.Auto_page_matcher().Match(page_ttl.Full_db())) return;
if (!sync_api.Auto_page_matcher().Match(wiki, page_ttl.Full_db())) return;
wiki.Data__core_mgr().Db__core().Tbl__page().Select_by_ttl(tmp_dbpg, page_ttl.Ns(), page_ttl.Page_db());