a tag panel
This commit is contained in:
parent
bb5e34a61d
commit
352a950755
14 changed files with 53 additions and 28 deletions
|
|
@ -738,7 +738,7 @@ namespace Npgsql.Web.Blog
|
|||
using (NpgsqlCommand cmd = cnx.CreateCommand ()) {
|
||||
cmd.CommandText = "select * " +
|
||||
"from blog where applicationname = :appname and visible = true " +
|
||||
" order by posted desc limit :len";
|
||||
" order by modified desc limit :len";
|
||||
|
||||
cmd.Parameters.AddWithValue ("appname", applicationName);
|
||||
cmd.Parameters.AddWithValue ("len", defaultPageSize * 10);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue