Skip to content

Commit

Permalink
🩹 fix example link
Browse files Browse the repository at this point in the history
  • Loading branch information
kkharji committed Sep 21, 2021
1 parent 3d89dc1 commit 4335cb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sqlite.lua 💫

- [Changelog](https://github.com/tami5/sqlite.lua/blob/master/CHANGELOG.md)
- [Docs](https://github.com/tami5/sqlite.lua/blob/master/doc/sqlite.txt)
- [Examples](https://github.com/tami5/sqlite.lua/blob/master/examples)
- [Examples](https://github.com/tami5/sqlite.lua/blob/master/lua/sqlite/examples)
- [Powered By sqlite.lua](https://github.com/tami5/sqlite.lua#-powered-by-sqlitelua)

<p align="center"> <img src="./doc/preview.svg"> </p>
Expand Down
4 changes: 2 additions & 2 deletions lua/sqlite/examples/bookmarks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ function entries:get(q)
return entry
end

for _, ts in pairs(ts:get(entry.id)) do
for _, _ts in pairs(ts:get(entry.id)) do
for _, rank in ipairs(ages) do
if ts.age <= rank.age then
if _ts.age <= rank.age then
recency_score = recency_score + rank.value
goto continue
end
Expand Down

0 comments on commit 4335cb6

Please sign in to comment.