Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd00f984c5 | ||
|
|
aa0e5ec4e7 | ||
|
|
97cdbd3027 | ||
|
|
d7ce2a8caf | ||
|
|
715845751b | ||
|
|
bb5b17ef2a | ||
|
|
2c63aca276 | ||
|
|
bd9bd452c9 | ||
|
|
3b0bffe464 | ||
|
|
901c485c65 |
No files matched your search
@@ -73,6 +73,8 @@ logs/
|
|||||||
|
|
||||||
# Database
|
# Database
|
||||||
*.db
|
*.db
|
||||||
|
*.db-shm
|
||||||
|
*.db-wal
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
instance/
|
instance/
|
||||||
|
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ class PlayerService:
|
|||||||
def get_player_detail(self, player_id):
|
def get_player_detail(self, player_id):
|
||||||
player = self.db.query("""
|
player = self.db.query("""
|
||||||
SELECT a.*, a.transform::text as transform_text,
|
SELECT a.*, a.transform::text as transform_text,
|
||||||
ea.id as account_id, ea.user as account_email, ea.platform_id,
|
ea.id as account_id, ea.user as account_email, acc.platform_id,
|
||||||
acc.funcom_id,
|
acc.funcom_id,
|
||||||
COALESCE(NULLIF(ps.character_name, ''), NULLIF(acc.funcom_id, ''), 'Character ' || a.id::text) as player_name,
|
COALESCE(NULLIF(ps.character_name, ''), NULLIF(acc.funcom_id, ''), 'Character ' || a.id::text) as player_name,
|
||||||
ps.online_status::text as online_status,
|
ps.online_status::text as online_status,
|
||||||
|
|||||||
+1
-1
@@ -168,7 +168,7 @@ function initMap() {
|
|||||||
markerClusterGroup = (typeof L.markerClusterGroup !== 'undefined')
|
markerClusterGroup = (typeof L.markerClusterGroup !== 'undefined')
|
||||||
? L.markerClusterGroup({
|
? L.markerClusterGroup({
|
||||||
chunkedLoading: true,
|
chunkedLoading: true,
|
||||||
maxClusterRadius: 5,
|
maxClusterRadius: 12,
|
||||||
spiderfyOnMaxZoom: true,
|
spiderfyOnMaxZoom: true,
|
||||||
showCoverageOnHover: false,
|
showCoverageOnHover: false,
|
||||||
iconCreateFunction: function(cluster) {
|
iconCreateFunction: function(cluster) {
|
||||||
|
|||||||
Reference in new issue
Block a user