Skip to content

Dependencies only show one issue for each other repo #27722

Closed
@colejohnson66

Description

@colejohnson66

Description

The "blocks/dependencies" area of issues only shows the three oldest additions to the list, even if there are more. The issue log does show there being more than three "new dependencies" being added. It appears like the code naively adds a LIMIT 3 to the database call with no regard for the real count.

The entire list should be viewable, and it should be sorted differently than the order of insertion in the database.

Gitea Version

1.20.5

Can you reproduce the bug on the Gitea demo site?

Untested

Log Gist

No response

Screenshots

This screenshot shows only three issues as being blocked by the currently viewed one. The current issue actually blocks about a half-dozen. As above, these are the first three additions to the list, and appear in that order.

Screenshot showing the above description

Git Version

No response

Operating System

No response

How are you running Gitea?

N/A

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions