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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user