mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 03:51:26 +01:00
Merge remote-tracking branch 'origin/develop' into activitypub
This commit is contained in:
@@ -128,7 +128,7 @@ categoriesAPI.getTopics = async (caller, data) => {
|
||||
|
||||
let start = Math.max(0, parseInt(data.after || 0, 10));
|
||||
|
||||
if (data.direction === -1) {
|
||||
if (parseInt(data.direction, 10) === -1) {
|
||||
start -= infScrollTopicsPerPage;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user