Makes background jobs work again

This commit is contained in:
2023-10-25 15:35:33 -07:00
parent a2d834794f
commit 506d2ac782
10 changed files with 138 additions and 3860 deletions

View File

@@ -2,7 +2,7 @@
(:require
[auto-ap.graphql.utils :refer [can-see-client?]]
[auto-ap.solr :as solr]
[auto-ap.ssr.utils :refer [html-response]]
[auto-ap.ssr.utils :refer [html-response modal-response]]
[auto-ap.time :as atime]
[clojure.string :as str]
[com.brunobonacci.mulog :as mu]
@@ -130,11 +130,11 @@
:form (:form-params request))
(if-let [q (get (:form-params request) "q")]
(html-response (search-results* q (:identity request)))
(html-response
(modal-response
(com/modal {}
(com/modal-card {}
(com/modal-card {:class "w-full h-full"}
[:div.p-2 "Search"]
[:div#search.overflow-auto.space-y-6.p-2.h-96
[:div#search.overflow-auto.space-y-6.p-2.w-full
(com/text-input {:id "search-input"
:type "search"