An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve database date field relative between filter https://github.com/siyuan-note/siyuan/issues/14091
Danield97899668b91
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.tsindex a1b5985196..b4bd14cb44 100644--- a/app/src/protyle/render/av/filter.ts+++ b/app/src/protyle/render/av/filter.ts@@ -426,7 +426,7 @@ export const setFilter = async (options: {<option value="0"${showToday ? " selected" : ""}>${window.siyuan.languages.current}</option></select><span class="fn__space"></span>- <input type="number" min="1" step="1" value="${options.filter.relativeDate?.count || 1}" class="b3-text-field fn__flex-1${showToday ? " fn__none" : ""}"/>+ <input type="number" min="1" oninput="this.value = Math.max(this.value, 1)" step="1" value="${options.filter.relativeDate?.count || 1}" class="b3-text-field fn__flex-1${showToday ? " fn__none" : ""}"/><span class="fn__space${showToday ? " fn__none" : ""}"></span><select class="b3-select fn__flex-1"><option value="0"${options.filter.relativeDate?.unit === 0 ? " selected" : ""}>${window.siyuan.languages.day}</option>@@ -449,7 +449,7 @@ export const setFilter = async (options: {<option value="0"${showToday2 ? " selected" : ""}>${window.siyuan.languages.current}</option></select><span class="fn__space"></span>- <input type="number" min="1" step="1" value="${options.filter.relativeDate2?.count || 1}" class="b3-text-field fn__flex-1${showToday2 ? " fn__none" : ""}"/>+ <input type="number" min="1" step="1" oninput="this.value = Math.max(this.value, 1)" value="${options.filter.relativeDate2?.count || 1}" class="b3-text-field fn__flex-1${showToday2 ? " fn__none" : ""}"/><span class="fn__space${showToday2 ? " fn__none" : ""}"></span><select class="b3-select fn__flex-1"><option value="0"${options.filter.relativeDate2?.unit === 0 ? " selected" : ""}>${window.siyuan.languages.day}</option>