aboutsummaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-10-11 19:02:59 (UTC)
committerrtz12 <koenig@fagott.pw>2016-10-11 19:02:59 (UTC)
commitce5973c4024f22a8f8c63818109a2ca4f3be7bc4 (patch)
treee7b6b5d5c6e73451b489e97f90206a96bf9ed2df /modules/search
parentfbd746aef8c78067593f901afb0f255574392499 (diff)
parentb5051d2358e12f877e5c52053dcf1a16959e4ded (diff)
Merge branch 'master' of projekte.fagott.pw:grilist
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/search/search.go b/modules/search/search.go
index a614c08..4048dbe 100644
--- a/modules/search/search.go
+++ b/modules/search/search.go
@@ -1,6 +1,7 @@
1package search 1package search
2 2
3import ( 3import (
4 "fmt"
4 "log" 5 "log"
5 "net/http" 6 "net/http"
6 7
@@ -72,7 +73,9 @@ func (m *Module) instantSearchGril(w http.ResponseWriter, r *http.Request, p htt
72 continue 73 continue
73 } 74 }
74 75
75 result.ImagePath = grils.ImagePath(result.ID, true) 76 // Jan: Das ist hier irgendwie scheisse, aber wir bauen ja grad irgendwie den kram auf Models um. Wir brauchen da
77 // irgendwas besseres.
78 result.ImagePath = fmt.Sprintf("http://img.grilist.moe/gril/thumb/%d.jpg", result.ID)
76 results = append(results, result) 79 results = append(results, result)
77 } 80 }
78 81