1
0
Fork 0

- ensured the colmuns are correctly quoted when performing local search.

This commit is contained in:
cage 2024-06-15 17:24:39 +02:00
parent c119600081
commit d65b98499c
2 changed files with 8 additions and 7 deletions

View File

@ -1719,7 +1719,8 @@ that identify a single message in table :status"
account-id
&rest
where-clauses)
"Query the table status
"Query the table status joined with table `account` for some extra
information (see the function `gen-message-select').
- other-column fetch other column from table :status or :account (the
default columns are all the ones of table status and the columns

View File

@ -29,19 +29,19 @@
(:constant nil))
(defrule fedisearch-column (or
"\"status-id\""
"\"account-id\""
"status-id"
"account-id"
"username"
"account"
"uri"
"content"
"\"rendered-text\""
"rendered-text"
"visibility"
"sensitive"
"spoiler-text"
"reblogs-count"
"\"favourites-count\""
"\"replies-count\""
"favourites-count"
"replies-count"
"url"
"language"
"favourited"
@ -52,7 +52,7 @@
"redp"
"timeline"
"folder")
(:text t))
(:function (lambda (a) (db::quote-symbol a))))
(defrule fedisearch-column-value (and #\" (+ (not #\")) #\")
(:text t))