mirror of https://codeberg.org/cage/tinmop/
- ensured the colmuns are correctly quoted when performing local search.
This commit is contained in:
parent
c119600081
commit
d65b98499c
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue