mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
attendance card
This commit is contained in:
+3
-1
@@ -850,7 +850,9 @@ else
|
||||
|
||||
if ($elasticsearchEnabled) {
|
||||
$searchRep = new \App\Repositories\SearchRepository();
|
||||
$resultFromElastic = $searchRep->listTorrentFromEs($_GET, $CURUSER['id'], $_SERVER['QUERY_STRING']);
|
||||
$esParams = $_GET;
|
||||
$esParams['mode'] = $sectiontype;
|
||||
$resultFromElastic = $searchRep->listTorrentFromEs($esParams, $CURUSER['id'], $_SERVER['QUERY_STRING']);
|
||||
$count = $resultFromElastic['total'];
|
||||
} else {
|
||||
$res = sql_query($sql);
|
||||
|
||||
Reference in New Issue
Block a user