diff --git a/Expedience.Infrastructure/ExpedienceRepository.cs b/Expedience.Infrastructure/ExpedienceRepository.cs index 616ee40..3141973 100644 --- a/Expedience.Infrastructure/ExpedienceRepository.cs +++ b/Expedience.Infrastructure/ExpedienceRepository.cs @@ -150,7 +150,7 @@ public class ExpedienceRepository : IExpedienceRepository var cacheKey = $"xpd-th"; var cacheSeconds = 600; var records = await _memcachedClient.GetValueOrCreateAsync(cacheKey, cacheSeconds, - async () => await _dbContext.ContentTypeRecords.FromSqlInterpolated($"SELECT * FROM public.get_contenttyperecords({contentType})") + async () => await _dbContext.ContentTypeRecords.FromSqlInterpolated($"SELECT * FROM public.get_contenttyperesults({contentType})") .ToListAsync(cancellationToken)); return records; diff --git a/Expedience.Web/Pages/Index.cshtml b/Expedience.Web/Pages/Index.cshtml index 1f3b7c4..2fd6a04 100644 --- a/Expedience.Web/Pages/Index.cshtml +++ b/Expedience.Web/Pages/Index.cshtml @@ -67,7 +67,7 @@ } - else + else if (Model.DeepDungeonRecords != null) {