* BlogsController.cs
* NpgsqlBlogProvider.cs: quiet a revert to last commit, fixing an introduced bug, at using default values for pageIndex * ResultPages.cs: parentesis around the number of results
This commit is contained in:
parent
b00c1a8cd3
commit
60236ba517
3 changed files with 6 additions and 5 deletions
|
|
@ -107,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 = 1, int pageSize = 10)
|
||||
public ActionResult UserPosts (string user, int pageIndex = 0, int pageSize = 10)
|
||||
{
|
||||
int tr;
|
||||
MembershipUser u = Membership.GetUser ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue