summaryrefslogtreecommitdiffstats
path: root/ComicRackWebViewer/Modules/BCRModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ComicRackWebViewer/Modules/BCRModule.cs')
-rw-r--r--ComicRackWebViewer/Modules/BCRModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ComicRackWebViewer/Modules/BCRModule.cs b/ComicRackWebViewer/Modules/BCRModule.cs
index f4cfff7..4e353b4 100644
--- a/ComicRackWebViewer/Modules/BCRModule.cs
+++ b/ComicRackWebViewer/Modules/BCRModule.cs
@@ -188,7 +188,8 @@ namespace ComicRackWebViewer
Get["/Comics"] = x => {
try
{
- return Response.AsOData(API.GetComics().Select(c => c.ToComicExcerpt()));
+ var comics = Context.ApplyODataUriFilter(API.GetComics().Select(c => c.ToComic())).Cast<Comic>();
+ return Response.AsJson(comics.Select(c => c.ToComicExcerpt()), HttpStatusCode.OK);
}
catch(Exception e)
{