diff --git a/core/data/System/WebCreateNewTopicTemplate.txt b/core/data/System/WebCreateNewTopicTemplate.txt index ddac4259aa..4eb9c16223 100644 --- a/core/data/System/WebCreateNewTopicTemplate.txt +++ b/core/data/System/WebCreateNewTopicTemplate.txt @@ -59,7 +59,7 @@ %TMPL:DEF{"topicparent"}%%IF{"defined pickparent" then="" else=" %MAKETEXT{"Pick from a list"}%"}%%TMPL:END% -%TMPL:DEF{"topictemplate"}%%SEARCH{"name~'*Template'" scope="topic" web="%BASEWEB%" limit="1" excludetopic="WebTopicEditTemplate,*WebCreateNewTopicTemplate,*ViewTemplate" type="query" nonoise="on" format=" %MAKETEXT{"View templates"}%"}% %TMPL:END% +%TMPL:DEF{"topictemplate"}%%SEARCH{"name~'*Template'" scope="topic" topic="*Template" web="%BASEWEB%" limit="1" excludetopic="WebTopicEditTemplate,*WebCreateNewTopicTemplate,*ViewTemplate" type="query" nonoise="on" format=" %MAKETEXT{"View templates"}%"}% %TMPL:END% %TMPL:DEF{"submit"}%%TMPL:END% diff --git a/core/data/System/WebTemplateTopics.txt b/core/data/System/WebTemplateTopics.txt index 4baa801859..8408410845 100644 --- a/core/data/System/WebTemplateTopics.txt +++ b/core/data/System/WebTemplateTopics.txt @@ -5,4 +5,4 @@ *%MAKETEXT{"A topic template defines the initial content of a newly created topic."}%* %MAKETEXT{"Available templates in [_1] Web:" args="%URLPARAM{"web" default="%WEB%"}%"}% -%SEARCH{"name~'*Template'" scope="topic" web="%URLPARAM{"web" default="%WEB%"}%" excludetopic="WebTopicEditTemplate,*WebCreateNewTopicTemplate,*ViewTemplate" type="query" nosearch="on" nonoise="on" format=" * [[$web.$topic][$topic]]"}% \ No newline at end of file +%SEARCH{"name~'*Template'" scope="topic" topic="*Template" web="%URLPARAM{"web" default="%WEB%"}%" excludetopic="WebTopicEditTemplate,*WebCreateNewTopicTemplate,*ViewTemplate" type="query" nosearch="on" nonoise="on" format=" * [[$web.$topic][$topic]]"}%