Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of the search processor for content-based search #16560

Open
wants to merge 2 commits into
base: 2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions _build/data/transport.core.system_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1477,6 +1477,24 @@
'area' => 'file',
'editedon' => null,
), '', true, true);
$settings['quick_search_in_content']= $xpdo->newObject('modSystemSetting');
$settings['quick_search_in_content']->fromArray(array (
'key' => 'quick_search_in_content',
'value' => true,
'xtype' => 'combo-boolean',
'namespace' => 'core',
'area' => 'manager',
'editedon' => null,
), '', true, true);
$settings['quick_search_result_max']= $xpdo->newObject('modSystemSetting');
$settings['quick_search_result_max']->fromArray(array (
'key' => 'quick_search_result_max',
'value' => 10,
'xtype' => 'numberfield',
'namespace' => 'core',
'area' => 'manager',
'editedon' => null,
), '', true, true);
$settings['request_controller']= $xpdo->newObject('modSystemSetting');
$settings['request_controller']->fromArray(array (
'key' => 'request_controller',
Expand Down
6 changes: 6 additions & 0 deletions core/lexicon/en/setting.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,12 @@
$_lang['setting_rb_base_url_desc'] = 'Enter the virtual path to resource directory. This setting is usually automatically generated. If you\'re using IIS, however, MODX may not be able to work the URL out on its own, causing the Resource Browser to show an error. In that case, you can enter the URL to the images directory here (the URL as you\'d enter it on Internet Explorer).';
$_lang['setting_rb_base_url_err'] = 'Please state the resource browser base URL.';

$_lang['setting_quick_search_in_content'] = 'Allow search in content';
$_lang['setting_quick_search_in_content_desc'] = 'If \'Yes\', then the content of the element (resource, template, chunk, etc.) will also be available for quick search.';

$_lang['setting_quick_search_result_max'] = 'Number of items in search result';
$_lang['setting_quick_search_result_max_desc'] = 'Maximum number of elements for each type (resource, template, chunk, etc.) in the quick search result.';

$_lang['setting_request_controller'] = 'Request Controller Filename';
$_lang['setting_request_controller_desc'] = 'The filename of the main request controller from which MODX is loaded. Most users can leave this as index.php.';

Expand Down
Loading
Loading