From 0971544eeb4d32b3b836caf9687d61c58583060f Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 28 Sep 2023 13:18:54 +0800 Subject: [PATCH 1/2] :memo: Improve transformation with sub-headings https://github.com/siyuan-note/siyuan/issues/9264 --- app/appearance/langs/en_US.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 4816e8d35..432fc356e 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -298,7 +298,7 @@ "defBlockChildren": "Define block and its children", "filter": "Filter", "headings1": "Headings and Bottom Blocks", - "tWithSubtitle": "Transformation with subtitles", + "tWithSubtitle": "Transformation with sub-headings", "clear": "Clear", "autoDownloadUpdatePkg": "Automatically download update installation package", "autoDownloadUpdatePkgTip": "After enabling, it will automatically check the version update every two hours. If there is an updated version, it will automatically download the installation package and prompt for installation", From ac752516a1dd1df0d87977159658253d88187acb Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 28 Sep 2023 13:52:45 +0800 Subject: [PATCH 2/2] :art: Improve insert database row sorting --- kernel/model/attribute_view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 7201dc3c2..0097bc5cd 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -478,7 +478,7 @@ func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tre } } } else { - view.Table.RowIDs = append(view.Table.RowIDs, blockID) + view.Table.RowIDs = append([]string{blockID}, view.Table.RowIDs...) } }