Skip to content

Commit

Permalink
fulltext search panel markup file + fix in the config while search cr…
Browse files Browse the repository at this point in the history
…eation
  • Loading branch information
KaterynaHonchar committed Mar 7, 2023
1 parent 4c079af commit 1a53637
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ private SearchBoxConfigurationType getMergedConfiguration() {
.modelServiceLocator(modelServiceLocator)
.create();

if (isFullTextSearchEnabled(type)) {
defaultSearchBoxConfig.getAllowedMode().add(SearchBoxModeType.FULLTEXT);
}
return SearchConfigurationMerger.mergeConfigurations(defaultSearchBoxConfig, configuredSearchBox, modelServiceLocator);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ Copyright (c) 2010-2013 Evolveum
~
~ This work is dual-licensed under the Apache License 2.0
~ and European Union Public License. See LICENSE file for details.
-->
<html xmlns:wicket="http://wicket.apache.org">
<head/>
<body>
<wicket:panel>
<div wicket:id="fullTextContainer">
<input wicket:id="fullTextField" type="text" class="form-control form-control-sm" style="width: 150px; min-width: 150px;"/>
</div>
</wicket:panel>
</body>
</html>

0 comments on commit 1a53637

Please sign in to comment.