90 - Add very basic alpha sorting to team names
What does the provided patch do?
Adds very basic sorting of team names to make looking up a team a little bit easier.
Please provide any additional information below.
This is a very rough patch - it only works if teams have been specifically named. Also, it may only alphabetize the teams when the addon is first loaded.
| Name | Description | Size | MD5 |
|---|---|---|---|
| AlphaSortTeams.patch | patch file for ... | 223 B | d95013bcc004... |
| PetBattleTeams_alpha_sort_report.htm | html visual of changes | 248.4 KiB | 3a66d1fd230e... |
| User | When | Change |
|---|---|---|
| LameCooter | Nov 30, 2014 at 19:43 UTC | Changed description:- patch file + plain$What does the provided patch do? + Adds very basic sorting of team names to make looking up a team a little bit easier. + + Please provide any additional information below. + This is a very rough patch - it only works if teams have been specifically named. Also, it may only alphabetize the teams when the addon is first loaded. + |
| LameCooter | Nov 30, 2014 at 19:39 UTC | Deleted attachment PetBattleTeams_alpha_sort_report.htm: dupe |
| LameCooter | Nov 30, 2014 at 19:39 UTC | Added attachment PetBattleTeams_alpha_sort_report.htm |
| LameCooter | Nov 30, 2014 at 19:39 UTC | Added attachment PetBattleTeams_alpha_sort_report.htm |
| LameCooter | Nov 30, 2014 at 19:38 UTC | Added attachment AlphaSortTeams.patch |
| LameCooter | Nov 30, 2014 at 19:37 UTC | Create |
- 3 comments
- 3 comments
Facts
- Last updated
- Nov 30, 2014
- Reported
- Nov 30, 2014
- Status
- New - Issue has not had initial review yet.
- Type
- Patch - Source code patch for review
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #3
spiralofhope Mar 19, 2015 at 23:58 UTC - 0 likesIf implemented, this would resolve ticket 66.
http://blog.spiralofhope.com
- Reply
- #2
davidgvh Mar 04, 2015 at 13:13 UTC - 0 likesI put my teams in the order I grind my pets for maximum ease, so please make sure that this is optional functionality.
- Reply
- #1
ZenoDwarf Feb 15, 2015 at 23:44 UTC - 0 likesI tried this and it worked pretty well.
Then I thought it would be better to have a sort on demand rather than on initialize. I added a TeamManager:SortTeams() function and a new slash command "/pbt sort".
add this to TeamManager.lua at line 600 before OnInitialize()
Then add the slash command to PetBattleTeams.lua