Instant search results to the gui when the search page loads

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-07-17 19:08:48 +02:00
parent f129c3780c
commit 9e47bce124
2 changed files with 5 additions and 1 deletions

View File

@ -168,6 +168,10 @@ $config['ENABLE_REMOTE_IMAGES'] = '0';
$config['ENABLE_ON_THE_FLY_VERIFICATION'] = 0; $config['ENABLE_ON_THE_FLY_VERIFICATION'] = 0;
$config['ENABLE_LDAP_IMPORT_FEATURE'] = 0; $config['ENABLE_LDAP_IMPORT_FEATURE'] = 0;
$config['ENABLE_FOLDER_RESTRICTIONS'] = 0; $config['ENABLE_FOLDER_RESTRICTIONS'] = 0;
// When enabled the search page auto loads the search results
// ie. as if the user had clicked on the Search button
$config['ENABLE_INSTANT_SEARCH'] = 0;
$config['SEARCH_RESULT_CHECKBOX_CHECKED'] = 0; $config['SEARCH_RESULT_CHECKBOX_CHECKED'] = 0;
$config['HELPER_URL'] = ''; $config['HELPER_URL'] = '';
$config['LOG_LEVEL'] = NORMAL; $config['LOG_LEVEL'] = NORMAL;

View File

@ -33,7 +33,7 @@
<?php print JS_CODE; ?> <?php print JS_CODE; ?>
</head> </head>
<body onload="Piler.add_shortcuts();"> <body onload="Piler.add_shortcuts();<?php if(ENABLE_INSTANT_SEARCH){ ?>Piler.expert();<?php } ?>">
<div id="deleteconfirm-modal" class="modal hide fade"> <div id="deleteconfirm-modal" class="modal hide fade">
<div class="modal-header"> <div class="modal-header">