1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-17 14:19:45 +02:00

adapt to new api mechanism

This commit is contained in:
lxsang
2018-10-05 19:03:29 +02:00
parent cceb8b2c49
commit a6c14bd9bf
8 changed files with 31 additions and 31 deletions

View File

@ -48,7 +48,7 @@
<?lua
echo("<ul>")
for k,v in pairs(similar_posts) do
echo("<li><a href='./r:id:"..v.st.sid.."'>"..v.post.title.."</a> (<b>Score</b>: "..string.format("%2.2f",v.st.score)..")</li>")
echo("<li><a href='./"..v.st.sid.."'>"..v.post.title.."</a> (<b>Score</b>: "..string.format("%2.2f",v.st.score)..")</li>")
end
echo("</ul>")
end?>