mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-21 02:01:37 +02:00
Merge branch 'master' into develop
This commit is contained in:
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@@ -26,9 +26,6 @@ jobs:
|
|||||||
- os: ubuntu-24.04-arm
|
- os: ubuntu-24.04-arm
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
required: true
|
required: true
|
||||||
- os: ubuntu-24.04-arm
|
|
||||||
platforms: linux/arm/v7
|
|
||||||
required: false
|
|
||||||
continue-on-error: ${{ !matrix.required }}
|
continue-on-error: ${{ !matrix.required }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ categoriesAPI.getTopics = async (caller, data) => {
|
|||||||
throw new Error('[[error:no-privileges]]');
|
throw new Error('[[error:no-privileges]]');
|
||||||
}
|
}
|
||||||
|
|
||||||
const infScrollTopicsPerPage = 20;
|
const infScrollTopicsPerPage = settings.topicsPerPage;
|
||||||
const sort = data.sort || data.categoryTopicSort || meta.config.categoryTopicSort || 'recently_replied';
|
const sort = data.sort || data.categoryTopicSort || meta.config.categoryTopicSort || 'recently_replied';
|
||||||
|
|
||||||
let start = Math.max(0, parseInt(data.after || 0, 10));
|
let start = Math.max(0, parseInt(data.after || 0, 10));
|
||||||
|
|||||||
Reference in New Issue
Block a user