Update falukantService and MessagesDialog for improved data handling and parameter extraction

- Changed the join in falukantService from 'title_of_nobility' to 'title' for better clarity in data relationships.
- Enhanced MessagesDialog.vue to directly extract parameters from parsed data when no value object is present, improving the handling of character-related parameters and ensuring backend names take precedence.
This commit is contained in:
Torsten Schulz (local)
2026-01-21 08:33:59 +01:00
parent 7765067d1b
commit a76aae3d12
2 changed files with 19 additions and 2 deletions

View File

@@ -2483,7 +2483,7 @@ class FalukantService extends BaseService {
t.level,
COALESCE(AVG(k.knowledge), 0) AS avg_knowledge
FROM falukant_data.character c
LEFT JOIN falukant_type.title_of_nobility t ON t.id = c.title_of_nobility
LEFT JOIN falukant_type.title t ON t.id = c.title_of_nobility
LEFT JOIN falukant_data.knowledge k ON k.character_id = c.id
WHERE c.region_id = :regionId
AND c.user_id IS NULL
@@ -2500,7 +2500,7 @@ class FalukantService extends BaseService {
t.level,
COALESCE(AVG(k.knowledge), 0) AS avg_knowledge
FROM falukant_data.character c
LEFT JOIN falukant_type.title_of_nobility t ON t.id = c.title_of_nobility
LEFT JOIN falukant_type.title t ON t.id = c.title_of_nobility
LEFT JOIN falukant_data.knowledge k ON k.character_id = c.id
WHERE c.region_id = :regionId
AND c.user_id IS NULL