Skip to content

users/search API results appear to be incorrectly limited by ui/EXPLORE_PAGING_NUM value #3731

@ag-wood

Description

@ag-wood
  • Gitea version (or commit ref): 1.3.2
  • Git version: 1.8.3.1
  • Operating system: RedHat Enterprise Linux 7.4
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No - don't know how to/access is an issue.
    • Not relevant
  • Log gist:

ISSUE:

Using the users/search API with a limit option that is greater than the value configured for ui/EXPLORE_PAGING_NUM in app.ini results in the limit that is passed being ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions