Fixing vendor sorting
This commit is contained in:
@@ -111,7 +111,8 @@
|
|||||||
(:sort args) (add-sorter-fields {"client" ['[?e :journal-entry/client ?c]
|
(:sort args) (add-sorter-fields {"client" ['[?e :journal-entry/client ?c]
|
||||||
'[?c :client/name ?sort-client]]
|
'[?c :client/name ?sort-client]]
|
||||||
"date" ['[?e :journal-entry/date ?sort-date]]
|
"date" ['[?e :journal-entry/date ?sort-date]]
|
||||||
"vendor" ['[?e :journal-entry/vendor ?sort-vendor]]
|
"vendor" ['[?e :journal-entry/vendor ?v]
|
||||||
|
'[?v :vendor/name ?sort-vendor]]
|
||||||
"amount" ['[?e :journal-entry/amount ?sort-amount]]
|
"amount" ['[?e :journal-entry/amount ?sort-amount]]
|
||||||
"external-id" ['[?e :journal-entry/external-id ?sort-external-id]]
|
"external-id" ['[?e :journal-entry/external-id ?sort-external-id]]
|
||||||
"source" ['[?e :journal-entry/source ?sort-source]]}
|
"source" ['[?e :journal-entry/source ?sort-source]]}
|
||||||
|
|||||||
Reference in New Issue
Block a user