File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ sqlite.lua 💫
77
88- [ Changelog] ( https://github.com/tami5/sqlite.lua/blob/master/CHANGELOG.md )
99- [ Docs] ( https://github.com/tami5/sqlite.lua/blob/master/doc/sqlite.txt )
10- - [ Examples] ( https://github.com/tami5/sqlite.lua/blob/master/examples )
10+ - [ Examples] ( https://github.com/tami5/sqlite.lua/blob/master/lua/sqlite/ examples )
1111- [ Powered By sqlite.lua] ( https://github.com/tami5/sqlite.lua#-powered-by-sqlitelua )
1212
1313<p align =" center " > <img src =" ./doc/preview.svg " > </p >
Original file line number Diff line number Diff line change @@ -220,9 +220,9 @@ function entries:get(q)
220220 return entry
221221 end
222222
223- for _ , ts in pairs (ts :get (entry .id )) do
223+ for _ , _ts in pairs (ts :get (entry .id )) do
224224 for _ , rank in ipairs (ages ) do
225- if ts .age <= rank .age then
225+ if _ts .age <= rank .age then
226226 recency_score = recency_score + rank .value
227227 goto continue
228228 end
You can’t perform that action at this time.
0 commit comments