chore: allow search comments

This commit is contained in:
Steven
2024-04-18 21:04:10 +08:00
parent 2cdcd17ba3
commit 339fecbfff
4 changed files with 11 additions and 3 deletions

View File

@ -30,7 +30,7 @@ const CreateMemoRelationDialog: React.FC<Props> = (props: Props) => {
async () => {
setIsFetching(true);
try {
const filters = [`creator == "${user.name}"`, `row_status == "NORMAL"`];
const filters = [`creator == "${user.name}"`, `row_status == "NORMAL"`, `include_comments == true`];
if (searchText) {
filters.push(`content_search == [${JSON.stringify(searchText)}]`);
}