diff --git a/IISMainHandler/handlers/response/AllPostsHandler.cs b/IISMainHandler/handlers/response/AllPostsHandler.cs index aaa5cc5..50ffab3 100644 --- a/IISMainHandler/handlers/response/AllPostsHandler.cs +++ b/IISMainHandler/handlers/response/AllPostsHandler.cs @@ -26,7 +26,7 @@ namespace FLocal.IISHandler.handlers.response { context.userSettings.postsPerPage, 1 ); - IEnumerable posts = + IEnumerable posts = Post.LoadByIds( from stringId in Config.instance.mainConnection.LoadIdsByConditions( Post.TableSpec.instance, @@ -44,7 +44,8 @@ namespace FLocal.IISHandler.handlers.response { ) } ) - select Post.LoadById(int.Parse(stringId)); + select int.Parse(stringId) + ); XElement[] result = new XElement[] { new XElement("posts",