From 81cd2fef849fde17d93b22c5f3a6984c9595eb33 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 4 Feb 2019 16:27:24 +0100 Subject: [PATCH] Support for static search option presets --- com.woltlab.wcf/templates/pageHeaderSearch.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/pageHeaderSearch.tpl b/com.woltlab.wcf/templates/pageHeaderSearch.tpl index a682135211..71ea1ea448 100644 --- a/com.woltlab.wcf/templates/pageHeaderSearch.tpl +++ b/com.woltlab.wcf/templates/pageHeaderSearch.tpl @@ -62,6 +62,8 @@
+ {if !$__searchStaticOptions|empty}{@$__searchStaticOptions}{/if} + {@SECURITY_TOKEN_INPUT_TAG} @@ -73,4 +75,4 @@ UiSearchPage.init('{if !$__searchObjectTypeName|empty}{@$__searchObjectTypeName}{elseif !$searchPreselectObjectType|empty}{$searchPreselectObjectType}{else}everywhere{/if}'); }); -{/if} \ No newline at end of file +{/if} -- 2.20.1