fixing vendor sort.

This commit is contained in:
Bryce Covert
2019-01-25 22:53:18 -08:00
parent 1d34dd157a
commit 963fe4373b
2 changed files with 6 additions and 2 deletions

View File

@@ -59,6 +59,9 @@
(= "client" (:sort-by args))
#(-> % :payment/client :client/name)
(= "vendor" (:sort-by args))
#(-> % :payment/vendor :vendor/name (or "") (.toLowerCase ))
:else
(keyword "payment" (:sort-by args))))