a tag panel

This commit is contained in:
Paul Schneider 2015-10-17 21:35:07 +02:00
commit 352a950755
14 changed files with 53 additions and 28 deletions

View file

@ -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);