thank god they both have *some* log function in common...

git-svn-id: file:///home/shish/svn/shimmie2/trunk@925 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-07-24 14:21:10 +00:00
parent 4f020ed7ea
commit b75dc2b2bc

View File

@ -101,7 +101,7 @@ class TagList extends Extension {
$result = $database->execute(" $result = $database->execute("
SELECT SELECT
tag, tag,
FLOOR(LOG(LOG(count - ? + 1)+1)*1.5*100)/100 AS scaled FLOOR(LOG(2.7, LOG(2.7, count - ? + 1)+1)*1.5*100)/100 AS scaled
FROM tags FROM tags
WHERE count >= ? WHERE count >= ?
ORDER BY tag ORDER BY tag