タイムラインを特定の日付にジャンプする機能
This commit is contained in:
parent
b0757129d5
commit
f3aef8df75
4 changed files with 39 additions and 6 deletions
|
@ -85,7 +85,7 @@ export default define(meta, async (ps, user) => {
|
|||
}
|
||||
|
||||
//#region Construct query
|
||||
const query = makePaginationQuery(Notes.createQueryBuilder('note'), ps.sinceId, ps.untilId)
|
||||
const query = makePaginationQuery(Notes.createQueryBuilder('note'), ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate)
|
||||
.andWhere('note.channelId = :channelId', { channelId: channel.id })
|
||||
.leftJoinAndSelect('note.user', 'user')
|
||||
.leftJoinAndSelect('note.channel', 'channel');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue