mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
finish migrate meilisearch to single tab
This commit is contained in:
@@ -28,7 +28,7 @@ if (!isset($CURUSER) || !user_can('seebanned')) {
|
||||
$banned = "no";
|
||||
}
|
||||
|
||||
$meilisearchEnabled = get_setting('system.meilisearch_enabled') == 'yes';
|
||||
$meilisearchEnabled = get_setting('meilisearch.enabled') == 'yes';
|
||||
$shouldUseMeili = $meilisearchEnabled && !empty($search);
|
||||
|
||||
$count = 0;
|
||||
|
||||
@@ -60,7 +60,7 @@ if (empty($searchstr)) {
|
||||
unset($searchstr);
|
||||
}
|
||||
|
||||
$meilisearchEnabled = get_setting('system.meilisearch_enabled') == 'yes';
|
||||
$meilisearchEnabled = get_setting('meilisearch.enabled') == 'yes';
|
||||
$shouldUseMeili = $meilisearchEnabled && !empty($searchstr);
|
||||
do_log("[SHOULD_USE_MEILI]: $shouldUseMeili");
|
||||
// sorting by MarkoStamcar
|
||||
|
||||
Reference in New Issue
Block a user