get tags: query description

This commit is contained in:
fengzero
2024-01-04 02:12:14 +00:00
parent b1d410e497
commit 5e33fc9d17
+2 -1
View File
@@ -220,7 +220,8 @@ static inline bool is_readable(const neu_datatag_t *tag, void *data)
static inline bool name_contains(const neu_datatag_t *tag, void *data)
{
const char *name = data;
return strstr(tag->name, name) != NULL;
return strstr(tag->name, name) != NULL ||
(tag->description != NULL && strstr(tag->description, name) != NULL);
}
static inline bool description_contains(const neu_datatag_t *tag, void *data)