Support for static search option presets
authorAlexander Ebert <ebert@woltlab.com>
Mon, 4 Feb 2019 15:27:24 +0000 (16:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 4 Feb 2019 15:27:24 +0000 (16:27 +0100)
com.woltlab.wcf/templates/pageHeaderSearch.tpl

index a682135211af16600ea6d53116e1da5fd06e4060..71ea1ea448c9badcc88219689446bf0e024641c1 100644 (file)
@@ -62,6 +62,8 @@
                        
                        <div id="pageHeaderSearchParameters"></div>
                        
+                       {if !$__searchStaticOptions|empty}{@$__searchStaticOptions}{/if}
+                       
                        {@SECURITY_TOKEN_INPUT_TAG}
                </div>
        </form>
@@ -73,4 +75,4 @@
                        UiSearchPage.init('{if !$__searchObjectTypeName|empty}{@$__searchObjectTypeName}{elseif !$searchPreselectObjectType|empty}{$searchPreselectObjectType}{else}everywhere{/if}');
                });
        </script>
-{/if}
\ No newline at end of file
+{/if}