--- a/PLCControler.py Mon Mar 11 13:51:07 2019 +0100
+++ b/PLCControler.py Fri Mar 22 11:10:37 2019 +0100
@@ -2749,7 +2749,9 @@
# -------------------------------------------------------------------------------
def SearchInProject(self, criteria):
- return self.Project.Search(criteria)
+ project_matches = self.Project.Search(criteria)
+ ctn_matches = self.CTNSearch(criteria)
+ return project_matches + ctn_matches
def SearchInPou(self, tagname, criteria, debug=False):
pou = self.GetEditedElement(tagname, debug)