From ca04d217ab1ea9460b7111a69e420f294afe047b Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 10 Feb 2014 19:02:19 +0530 Subject: [PATCH] added feature to sync static files --- webnotes/webutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webnotes/webutils.py b/webnotes/webutils.py index 2d20eb1b20..2353e70abd 100644 --- a/webnotes/webutils.py +++ b/webnotes/webutils.py @@ -144,7 +144,7 @@ def build_sitemap_options(page_name): where lft < %s and rgt > %s order by lft asc""", (sitemap_options.lft, sitemap_options.rgt), as_dict=True) sitemap_options.children = webnotes.conn.sql("""select * from `tabWebsite Sitemap` - where parent_website_sitemap=%s and public_read=1""", (sitemap_options.page_name,), as_dict=True) + where parent_website_sitemap=%s and public_read=1""", (sitemap_options.name,), as_dict=True) # determine templates to be used if not sitemap_options.base_template_path: