diff options
Diffstat (limited to 'modules/search')
| -rw-r--r-- | modules/search/search.go | 5 |
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 @@ | |||
| 1 | package search | 1 | package search |
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 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 | ||
