about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/grfn/bbbg/src/bbbg/db/event.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/grfn/bbbg/src/bbbg/db/event.clj b/users/grfn/bbbg/src/bbbg/db/event.clj
index a2aa30fd0dad..0fd0e3ec0795 100644
--- a/users/grfn/bbbg/src/bbbg/db/event.clj
+++ b/users/grfn/bbbg/src/bbbg/db/event.clj
@@ -3,7 +3,7 @@
    [bbbg.attendee :as attendee]
    [bbbg.db :as db]
    [bbbg.event :as event]
-   [honeysql.helpers :refer [merge-group-by merge-join merge-select]]
+   [honeysql.helpers :refer [merge-group-by merge-left-join merge-select]]
    [java-time :refer [local-date]]))
 
 (defn create! [db event]
@@ -34,7 +34,7 @@
 (defn with-attendee-counts
   [query]
   (-> query
-      (merge-join :event_attendee [:= :event.id :event_attendee.event-id])
+      (merge-left-join :event_attendee [:= :event.id :event_attendee.event-id])
       (merge-select :%count.event_attendee.attendee_id)
       (merge-group-by :event.id :event_attendee.event-id)))