added default sorting back in.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
(defn raw-graphql-ids [db args]
|
||||
(->> (doto (cond-> {:query {:find []
|
||||
:in ['$]
|
||||
:where ['[?e :invoice/invoice-number]]}
|
||||
:where []}
|
||||
:args [(d/db (d/connect uri))]}
|
||||
|
||||
(limited-clients (:id args))
|
||||
@@ -118,8 +118,9 @@
|
||||
"outstanding-balance" ['[?e :invoice/outstanding-balance ?sort-outstanding-balance]]}
|
||||
args)
|
||||
true
|
||||
(merge-query {:query {:find ['?e]
|
||||
:where ['[?e :invoice/client]]}}) )
|
||||
(merge-query {:query {:find ['?sort-default '?e ]
|
||||
:where ['[?e :invoice/client]
|
||||
'[?e :invoice/date ?sort-default]]}}) )
|
||||
(#(log/info %)))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user