leanote beta2 release

This commit is contained in:
life
2014-11-12 20:08:07 +08:00
parent 4669fbcbdd
commit 6f12e179eb
10 changed files with 36 additions and 224 deletions

View File

@ -404,7 +404,7 @@ func (this *BlogService) PreNextBlog(userId string, sorterField string, isAsc bo
// Log(sortFieldR2)
q = db.Notes.Find(query)
q.Sort(sortFieldR2).Limit(1).One(&note2)
return this.FixNote(note), this.FixNote(note2)
}