eve-seat/seat — pull request #254 by LunarchildEU (2014-12-13 12:35:54+00:00)
Title: take type of apikey into account to prevent wrong numbers

There is an issue in HomeController at the point where it sum's up stats.

A Superuser gets correct sums of all valid charactersheet data displayed, an normal SeAT user who might have also added a director apikey will get wrong numbers because it takes also the corp keys into account each time a character is listed in one.

This change lets the query take only character keys into account for that to correct the behaviour.