fix: template filter for tasks
diff --git a/erpnext/projects/doctype/project_template/project_template.js b/erpnext/projects/doctype/project_template/project_template.js
index d7a876d..acc6849 100644
--- a/erpnext/projects/doctype/project_template/project_template.js
+++ b/erpnext/projects/doctype/project_template/project_template.js
@@ -5,4 +5,13 @@
 	// refresh: function(frm) {
 
 	// }
+	setup: function (frm) {
+		me.frm.set_query("task", "tasks", function (doc, cdt, cdn) {
+			return {
+				filters: {
+					"is_template": 1
+				}
+			}
+		});
+	}
 });