added description
This commit is contained in:
@@ -59,6 +59,13 @@
|
||||
'[(re-find ?note-pattern ?n)]]}
|
||||
:args [(re-pattern (str "(?i)" (:note args)))]})
|
||||
|
||||
(not (str/blank? (:description args)))
|
||||
(merge-query {:query {:in ['?description]
|
||||
:where ['[?e :transaction-rule/description ?d]
|
||||
'[(clojure.string/lower-case ?d) ?d2]
|
||||
'[(clojure.string/includes? ?d2 ?description)]]}
|
||||
:args [(clojure.string/lower-case (:description args))]})
|
||||
|
||||
true
|
||||
(merge-query {:query {:find ['?e]
|
||||
:where ['[?e :transaction-rule/transaction-approval-status]]}}))]
|
||||
|
||||
Reference in New Issue
Block a user