From 452b7823dff8d367577b4b4c5483351c808b6c11 Mon Sep 17 00:00:00 2001 From: Mark Friedrich Date: Sat, 9 Jun 2018 20:28:03 +0200 Subject: [PATCH] - removed "stargates" from custom connections used for ESI `/routes/` search endpoint because ESI knows all stargates --- app/main/controller/api/route.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/main/controller/api/route.php b/app/main/controller/api/route.php index 4dc9238b..b26fd9bb 100644 --- a/app/main/controller/api/route.php +++ b/app/main/controller/api/route.php @@ -523,6 +523,11 @@ class Route extends Controller\AccessController { $routeData['searchType'] = 'esi'; if($systemFromId && $systemToId){ + // ESI route search can only handle 50 $connections (100 entries) + // we want to add NON stargate connections ONLY for ESI route search + // because ESI will use them anyways! + $filterData['stargates'] = false; + // prepare search data ------------------------------------------------------------------------------------ // add map specific data