Commit 7ee4e2fb authored by Jonny Schäfer's avatar Jonny Schäfer
Browse files

fix bug that shows video duplicates in video search list

parent d4153900
......@@ -94,7 +94,7 @@ func logicTrim(trim string) string {
// logicSearch searches for the given video title
func logicSearch(title string) {
upd := func(state int) []*videoContainer {
return videoListSearch(title, strconv.Itoa(state))
return videoListSearch(title, strconv.Itoa(state + 1))
}
logicVarLazy = listNew(upd)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment