* ResultPages.cs:
* NpgsqlBlogProvider.cs: PageIndex is now one based * AccountController.cs: Fixes a typo in the registration mail * AdminController.cs: Should fix a 500 at Registration validation * BasketController.cs: WIP * BlogsController.cs: page indexes are now one based * FrontOfficeController.cs: cleanning * GoogleController.cs: code formatting * Global.asax.cs: Default route data to "controller" "action" "id" * BBCodeHelper.cs: Allows not closed "url" BBcodes * InitDb.aspx: StatisPage.master was renamed * packages.config: Google references require System.Web 4.0.0.0 ... removed
This commit is contained in:
parent
630ddee841
commit
f54336852b
12 changed files with 29 additions and 54 deletions
|
|
@ -98,6 +98,7 @@ namespace Yavsc.Controllers
|
|||
|
||||
|
||||
|
||||
// page index becomes one-based
|
||||
/// <summary>
|
||||
/// Users the posts.
|
||||
/// </summary>
|
||||
|
|
@ -106,7 +107,7 @@ namespace Yavsc.Controllers
|
|||
/// <param name="pageIndex">Page index.</param>
|
||||
/// <param name="pageSize">Page size.</param>
|
||||
[HttpGet]
|
||||
public ActionResult UserPosts (string user, int pageIndex = 0, int pageSize = 10)
|
||||
public ActionResult UserPosts (string user, int pageIndex = 1, int pageSize = 10)
|
||||
{
|
||||
int tr;
|
||||
MembershipUser u = Membership.GetUser ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue