From 7b924ffac3ad9af9dd6fbbcb74027efb2032b2e8 Mon Sep 17 00:00:00 2001 From: songliang Date: Fri, 16 Dec 2022 16:46:42 +0800 Subject: [PATCH] ... --- webapp/controller/MarketController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 6b97afe3..3f6db4a3 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -655,6 +655,9 @@ class MarketController extends BaseController { $row['detail'] = $this->getNftGameData($nftDb); if (!in_array($row['detail']['type'], $job)) continue; + if (count($search)>0) { + if (!(in_array($row['detail']['name'], $search))) continue; + } array_push($nfts, $row); } usort($nfts, $sortByTokenId);