From 0a8cf7e2b1ee1eb6e4e8b5d5a466b3dabd40aa26 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Wed, 27 Jan 2021 17:28:45 -0800 Subject: [PATCH] fixing monumental issue where everything was unlinked --- src/clj/auto_ap/graphql/transactions.clj | 2 +- src/cljs/auto_ap/views/components/invoice_table.cljs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/clj/auto_ap/graphql/transactions.clj b/src/clj/auto_ap/graphql/transactions.clj index 1f31ac4a..8997b46f 100644 --- a/src/clj/auto_ap/graphql/transactions.clj +++ b/src/clj/auto_ap/graphql/transactions.clj @@ -159,7 +159,7 @@ (into (map (fn [[invoice-payment]] [:db/retractEntity invoice-payment]) (d/query {:query {:find ['?ip] - :in ['$] + :in ['$ '?p] :where ['[?ip :invoice-payment/payment ?p]]} :args [(d/db conn) (:db/id payment)]} )))) (:id context)) diff --git a/src/cljs/auto_ap/views/components/invoice_table.cljs b/src/cljs/auto_ap/views/components/invoice_table.cljs index 15317959..15bb71f2 100644 --- a/src/cljs/auto_ap/views/components/invoice_table.cljs +++ b/src/cljs/auto_ap/views/components/invoice_table.cljs @@ -170,7 +170,6 @@ [:td (:post-date (:transaction (:payment invoice-payment)))] [:td [buttons/fa-icon {:icon "fa-external-link" - :target "_blank" :href (str (bidi/path-for routes/routes :payments ) "?" (url/map->query {:exact-match-id (:id (:payment invoice-payment))}))}]]])]]]]]