File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ sqlite.lua 💫
7
7
8
8
- [ Changelog] ( https://github.com/tami5/sqlite.lua/blob/master/CHANGELOG.md )
9
9
- [ 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 )
11
11
- [ Powered By sqlite.lua] ( https://github.com/tami5/sqlite.lua#-powered-by-sqlitelua )
12
12
13
13
<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)
220
220
return entry
221
221
end
222
222
223
- for _ , ts in pairs (ts :get (entry .id )) do
223
+ for _ , _ts in pairs (ts :get (entry .id )) do
224
224
for _ , rank in ipairs (ages ) do
225
- if ts .age <= rank .age then
225
+ if _ts .age <= rank .age then
226
226
recency_score = recency_score + rank .value
227
227
goto continue
228
228
end
You can’t perform that action at this time.
0 commit comments