diff options
Diffstat (limited to 'web/lib/ui/keys.rb')
-rw-r--r-- | web/lib/ui/keys.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/ui/keys.rb b/web/lib/ui/keys.rb index 162792e..6f3e0d0 100644 --- a/web/lib/ui/keys.rb +++ b/web/lib/ui/keys.rb @@ -46,7 +46,7 @@ class Taginfo < Sinatra::Base end @josm_count = @db.count('josm_style_rules').condition('k = ?', @key).get_first_i - @wiki_count = @db.count('wiki.wikipages').condition('value IS NULL').condition('key=?', @key).get_first_i + @wiki_count = @db.count('wiki.wikipages').condition('key=? AND value IS NULL', @key).get_first_i @user_count = @db.select('SELECT users_all FROM db.keys').condition('key=?', @key).get_first_i @img_width = TaginfoConfig.get('geodistribution.width') * TaginfoConfig.get('geodistribution.scale_image') |