Skip to content

Improve database multi-select field sorting #11146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
zhenzou opened this issue Apr 26, 2024 · 1 comment
Closed
3 tasks done

Improve database multi-select field sorting #11146

zhenzou opened this issue Apr 26, 2024 · 1 comment
Assignees
Milestone

Comments

@zhenzou
Copy link

zhenzou commented Apr 26, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

多字段排序不符合预期。如下截图

Expected result

应该按照优先级排序

Screenshot or screen recording presentation

image image image

Version environment

- Version: 3.0.11
- Operating System: MacOS
- Browser (if used):

Log file

siyuan.log

More information

  1. 3.0.10 还是好的
  2. 两列都是单选
  3. 看起来只按照了第一个排序列排序了
@TCOTC
Copy link
Contributor

TCOTC commented Apr 26, 2024

确实,我试了一下,只要排序里有单选或多选都会有问题

image

@88250 88250 self-assigned this Apr 26, 2024
@88250 88250 changed the title Database sort by multiple fields work not expected Improve database multi-select field sorting Apr 26, 2024
@88250 88250 added this to the 3.0.12 milestone Apr 26, 2024
88250 added a commit that referenced this issue Apr 26, 2024

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 closed this as completed Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants