feat(search): add config options to adjust default behavior
This adds two new config options: `search_limit_to_first_ns`: Limit the search to the current X namespaces. When a search is executed from a page within a deeper namespace, the first X namespaces will be added as filter. Possible use case could be with language namespaces to ensure that the default search is initially within the current language. `search_default_fragment_behaviour`: Option to specify the default fragment search behavior
Showing
- conf/dokuwiki.php 2 additions, 0 deletionsconf/dokuwiki.php
- inc/Action/Search.php 71 additions, 3 deletionsinc/Action/Search.php
- inc/Ui/Search.php 9 additions, 4 deletionsinc/Ui/Search.php
- lib/plugins/config/lang/en/lang.php 6 additions, 0 deletionslib/plugins/config/lang/en/lang.php
- lib/plugins/config/settings/config.metadata.php 2 additions, 0 deletionslib/plugins/config/settings/config.metadata.php
Please register or sign in to comment