makes iol a little more responsive from invoices pgae.
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
eas)))
|
eas)))
|
||||||
(rename-keys {:invoice-payment/_invoice :invoice/payments})))
|
(rename-keys {:invoice-payment/_invoice :invoice/payments})))
|
||||||
|
|
||||||
|
|
||||||
(defn raw-graphql-ids
|
(defn raw-graphql-ids
|
||||||
([args]
|
([args]
|
||||||
(raw-graphql-ids (dc/db conn) args))
|
(raw-graphql-ids (dc/db conn) args))
|
||||||
@@ -57,7 +58,7 @@
|
|||||||
(map :db/id (:clients args))]}
|
(map :db/id (:clients args))]}
|
||||||
(cond-> {:query {:find []
|
(cond-> {:query {:find []
|
||||||
:in ['$]
|
:in ['$]
|
||||||
:where ['[?e :invoice/client]]}
|
:where []}
|
||||||
:args [db]}
|
:args [db]}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user