We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
//!js
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
让 //!js 查询结果的顺序和 includeId 完全保持一致
我自己测试的时候发现,js 查询的结果似乎并不会保证和 //!js 代码块返回的 id list 顺序保持一致。
在 getEmbedBlock 函数最后加一个排序操作
siyuan/kernel/api/search.go
Line 199 in 171b915
根据 includeId 的顺序重新排列一下 block 的顺序
No response
The text was updated successfully, but these errors were encountered:
🎨 Improve //!js query embed block result sorting #9977
679870b
等发 dev 版后请帮忙测试,谢谢。
Sorry, something went wrong.
dev版本测试了一下,应该是没问题了 👍
88250
No branches or pull requests
让
//!js
查询结果的顺序和 includeId 完全保持一致In what scenarios do you need this feature?
我自己测试的时候发现,js 查询的结果似乎并不会保证和 //!js 代码块返回的 id list 顺序保持一致。
Describe the optimal solution
在 getEmbedBlock 函数最后加一个排序操作
siyuan/kernel/api/search.go
Line 199 in 171b915
根据 includeId 的顺序重新排列一下 block 的顺序
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: