makondratev
2024-03-18 38d9d5213784ba3250326c66567be5a91d93c415
refs
author makondratev <69584771+makondratev@users.noreply.github.com>
Monday, March 18, 2024 00:48 +0000
committer GitHub <noreply@github.com>
Monday, March 18, 2024 00:48 +0000
commit38d9d5213784ba3250326c66567be5a91d93c415
tree 9553b40c12abdd69333ea427f0d5ce10720df0e5 tree | zip | gz
parent 253497cad45b086aae3cc1c99e483146440ae8c2 view | diff
feat(search): add search by title/content index and tag at the same time (#978)

* feat(search): add search by title/content index and tag at the same time

* fix(search): set search type to basic and remove tag from term for proper highlightning and scroll when searched by tag and title/content index

* fix(search): use indexOf to find space so it is easier to read

* fix(search): trim trailing whitespaces before splitting

* fix(search): set limit to 10000 for combined search mode (to make filter by tag more accurate)
1 files modified
33 ■■■■ changed files
quartz/components/scripts/search.inline.ts 33 ●●●● diff | view | raw | blame | history