From e5a6a1a073eb8d9f11696f253d6dd82fd433d012 Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 12 Oct 2022 12:53:54 -0300 Subject: [PATCH] Mostrar articulos que matchean contenido --- main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index d4aa9e4..8e03e73 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,11 @@ func (foo fooHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { title like "%colegio%" or title like "%escuela%" or title like "%Acosta%" or - title like "%tomas%" + title like "%tomas%" or + content like "%colegio%" or + content like "%escuela%" or + content like "%Acosta%" or + content like "%tomas%" order by publication_date asc limit 50 `)