summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/site.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/site.clj b/src/site.clj
index 4ff0c45..e38020a 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -1003,7 +1003,7 @@ WHERE u.user_id = ANY(?)"
(defn ghetto-search-query [num-tokens]
(str "select
url from image_urls
- where content ilike " (str-join " and content ilike " (take num-tokens (repeat "?"))) "
+ where url ilike " (str-join " and url ilike " (take num-tokens (repeat "?"))) "
order by last_posted desc
limit 200;"))