hardlounge/client/components
Reto Brunner 51c9ce078d Search: fix off by one offset error
Offset is eventually passed to sqlite as an OFFSET clause.

This works as follows:

sqlite> select num from seq limit 5 offset 0;
┌─────┐
│ num │
├─────┤
│ 1   │
│ 2   │
│ 3   │
│ 4   │
│ 5   │
└─────┘

sqlite> select num from seq limit 5 offset 5;
┌─────┐
│ num │
├─────┤
│ 6   │
│ 7   │
│ 8   │
│ 9   │
│ 10  │
└─────┘

However, the code currently emits a request for offset + 1, which ends
up skipping a message

sqlite> select num from seq limit 5 offset 5+1;
┌─────┐
│ num │
├─────┤
│ 7   │
│ 8   │
│ 9   │
│ 10  │
│ 11  │
└─────┘
2022-11-15 18:50:52 +01:00
..
MessageTypes TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Settings TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Special TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Windows Search: fix off by one offset error 2022-11-15 18:50:52 +01:00
App.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Channel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ChannelWrapper.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Chat.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ChatInput.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ChatUserList.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ConfirmDialog.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ContextMenu.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
DateMarker.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Draggable.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ImageViewer.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
InlineChannel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
JoinChannel.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreview.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreviewFileSize.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
LinkPreviewToggle.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Mentions.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Message.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
MessageCondensed.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
MessageList.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
MessageSearchForm.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
NetworkForm.vue connect: Trim white space from user input fields (#4623) 2022-09-07 20:25:08 -07:00
NetworkList.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
NetworkLobby.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
ParsedMessage.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
RevealPassword.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
RoutedChat.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Session.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Sidebar.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
SidebarToggle.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Username.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
VersionChecker.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00