hardlounge/client/components/Windows
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
..
Changelog.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Connect.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
Help.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
NetworkEdit.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
SearchResults.vue Search: fix off by one offset error 2022-11-15 18:50:52 +01:00
Settings.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00
SignIn.vue TypeScript and Vue 3 (#4559) 2022-06-18 17:25:21 -07:00