Small fixes for professions

A quick overview of characters' professions and skill levels

Small fixes for professions

Postby knarf » Mon Feb 02, 2009 8:12 pm

Hi,

I've just fixed two small problems in the professions addon.

1. Alchemy was renamed in German from Alchimie to Alchemie, so it did not show up correctly.
2. If your guildies use both German and English clients, sorting was wrong. The one guy with Alchemy 450 was always the last one after Alchemie 450.

Code: Select all
--- roster/trunk/localization/deDE.php  2009-01-18 16:11:12.000000000 +0100
+++ deDE.php    2009-02-02 13:50:51.000000000 +0100
@@ -320,7 +320,7 @@
 $lang['Blacksmithing']='Schmiedekunst';
 $lang['Mining']='Bergbau';
 $lang['Herbalism']='Kräuterkunde';
-$lang['Alchemy']='Alchimie';
+$lang['Alchemy']='Alchemie';
 $lang['Leatherworking']='Lederverarbeitung';
 $lang['Jewelcrafting']='Juwelenschleifen';
 $lang['Skinning']='Kürschnerei';


Code: Select all
--- roster/trunk/addons/professions/guild/index.php      2008-11-07 20:14:53.000000000 +0100
+++ index.php   2009-02-02 14:02:09.000000000 +0100
@@ -50,7 +50,8 @@
           . " AND `p`.`guild_id` = '" . $roster->data['guild_id'] . "'"
           . $showNewSkill
           . " AND `skill_name` IN ($inClause)"
-          . " ORDER BY `s`.`skill_type`, `s`.`skill_name`,(mid(`skill_level` FROM 1 FOR (locate(':', `skill_level`)-1)) + 0) DESC, `p`.`name`;";
+          . " ORDER BY `s`.`skill_type`, (mid(`skill_level` FROM 1 FOR (locate(':', `skill_level`)-1)) + 0) DESC, `s`.`skill_name`, `p`.`name`;";
 
 $result = $roster->db->query($query) or die_quietly($roster->db->error(),'Database Error',__FILE__,__LINE__,$query);
 


MadeBy is still broken. :(

Knarf
knarf
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sat Jun 09, 2007 11:15 pm
Location: Munich, Germany

Small fixes for professions

Postby zanix » Tue Feb 03, 2009 12:33 pm

Thanks, SVN updated
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Professions

Who is online

Users browsing this forum: No registered users and 0 guests

cron