Skip to content

Kanban cards are losing their sort/priority order in 1.17 #20920

Closed
@Akaitatsu

Description

@Akaitatsu

Description

In 1.16.1, we could prioritize cards within a column on the Kanban board and the new order would be saved. When I upgraded from 1.16.1 to 1.17.0, the cards stopped retaining the order and started sorting newest to oldest; upgrading to 1.17.1 didn't help. I reproduced this in the demo site as well; here is the link and repro steps:

https://try.gitea.io/eleven11/KanbanTest/projects/2282

  1. Note that the cards in the In Progress column are displayed in reverse of the order they were created (D, C, B, A).
  2. Rearrange the cards in any other order
  3. Click the browser refresh button
  4. Note that the cards are back in the same order when you started

I ran SQL Server Profiler and queried the database and Gitea does appear to be updating the sorting column in the project_issue table. However, when the page is reloaded it's ignoring the sorting and appears to sort by issue_id.

There are no errors in the Gitea log.

Screenshots

Before
image
Changed the order
image
Refreshed the page
image

Gitea Version

1.17.1

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Windows Server 2019

Browser Version

Firefox 103.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions