fixed #1875
This commit is contained in:
parent
e2ddc3c1d4
commit
fe829cf9bb
@ -22,9 +22,9 @@ namespace NadekoBot.Core.Services.Database.Repositories.Impl
|
|||||||
{
|
{
|
||||||
var q = _set.Where(x => x.GuildId == guildId);
|
var q = _set.Where(x => x.GuildId == guildId);
|
||||||
if (order == OrderType.Keyword)
|
if (order == OrderType.Keyword)
|
||||||
q.OrderBy(x => x.Keyword);
|
q = q.OrderBy(x => x.Keyword);
|
||||||
else
|
else
|
||||||
q.OrderBy(x => x.Id);
|
q = q.OrderBy(x => x.Id);
|
||||||
|
|
||||||
return q.Skip(15 * page).Take(15).ToArray();
|
return q.Skip(15 * page).Take(15).ToArray();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user