Skip to content

Missing/Duplicate issue when sorting by nearest due date #13395

Closed
@DuckDuckWhale

Description

@DuckDuckWhale
  • Gitea version (or commit ref): 1.12.5
  • Git version: 2.25.1
  • Operating system: Ubuntu Server 20.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Haven't tried
  • Log gist: N/A

Description

When sorting by nearest due date, some issues are duplicated and some cannot be found when going through pages. In my case the first page contains issue 108 and 118, and the second page still contains them but in a different order mixed with other issues. The overall issue count remains the same, but since some are duplicated some can't be found. This can be reproduced both at the per user issues page and the repository issues page.

One thing to note is that they all have the same due date and are all past due by less than a day.

Screenshots

Page 1:
image
Page 2:
image

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