Fixed a mistype in 'AllPostsHandler'

main
Inga 🏳‍🌈 15 years ago
parent 1225c746c0
commit b2a96ba56c
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      IISMainHandler/handlers/response/AllPostsHandler.cs

@ -24,7 +24,7 @@ namespace FLocal.IISHandler.handlers.response {
PageOuter pageOuter = PageOuter.createFromGet( PageOuter pageOuter = PageOuter.createFromGet(
context.requestParts, context.requestParts,
context.userSettings.postsPerPage, context.userSettings.postsPerPage,
3 1
); );
IEnumerable<Post> posts = from stringId in Config.instance.mainConnection.LoadIdsByConditions(Post.TableSpec.instance, new EmptyCondition(), pageOuter, new JoinSpec[0], new SortSpec[] { new SortSpec(Post.TableSpec.instance.getIdSpec(), false) }) select Post.LoadById(int.Parse(stringId)); IEnumerable<Post> posts = from stringId in Config.instance.mainConnection.LoadIdsByConditions(Post.TableSpec.instance, new EmptyCondition(), pageOuter, new JoinSpec[0], new SortSpec[] { new SortSpec(Post.TableSpec.instance.getIdSpec(), false) }) select Post.LoadById(int.Parse(stringId));

Loading…
Cancel
Save