#1311  Order of cards in boards does not respect Base Query `order by`
Closed
Jerome St-Louis opened 1 year ago

While the order is correct if entering the same query in "Filter and order issues" in the text box at the top of the board, the default order when that box is empty does not respect the one specified in "Base Query" and "Backlog Base Query" of the board definition.

The order seems to always be "Last Modified" when that box is empty. This is quite inconvenient.

Hmm, after editing the default boards and doing a "Use default boards" the order seems to be correct. I really thought I did "edit' the board directly though.

Perhaps the only way to update the base query after doing "Use default boards" is to do "Use default boards" again?

That is, neither editing the default boards, nor editing the originally default boards directly, works?

Robin Shen commented 1 year ago

Works at my side. My steps to try:

  1. Run a brand new OneDev server
  2. Create a blank project
  3. Add foud issues with priority respectively minor, normal, major and critical
  4. Open the created project, switch to issues/boards, and edit the board to specify base query as order by "Priority".
  5. Now all issues in the board will be sorted as expected.

I guess you are editing the default board in global issue setting directly, and it is different from the board in your project, as you've edited that board already which is no longer the default one.

Jerome St-Louis commented 1 year ago

Closing this issue as I was not able to reproduce the issue. It may have been a mistake on my part -- not sure though, there might have been some bug where changing the query order did not take effect when it should have. I will re-open if I can reproduce it again.

Jerome St-Louis changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1311
Please wait...
Page is in error, reload to recover