diff --git a/src/Jackett.Server/Controllers/IndexerApiController.cs b/src/Jackett.Server/Controllers/IndexerApiController.cs index 8e740266a..404c8d70a 100644 --- a/src/Jackett.Server/Controllers/IndexerApiController.cs +++ b/src/Jackett.Server/Controllers/IndexerApiController.cs @@ -111,9 +111,10 @@ namespace Jackett.Server.Controllers [HttpGet] [Route("")] - public IEnumerable Indexers() + public IEnumerable Indexers([FromQuery(Name = "configured")] bool configured) { var dto = IndexerService.GetAllIndexers().Select(i => new Common.Models.DTO.Indexer(i)); + dto = configured ? dto.Where(i => i.configured) : dto; return dto; }