Skip to content
Browse files

fix error in searching

Signed-off-by: Peter Wood <peter@alastria.net>
  • Loading branch information...
1 parent d266611 commit 40502574504a2bb74c5023c11a1246914b932edf predhme committed with Jul 1, 2009
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/wowr.rb
View
12 lib/wowr.rb
@@ -1056,12 +1056,12 @@ def get_file(url, options = {})
# TODO add handles for searching based upon stats
reqs = {
:character_name => 'n',
- :source => "fl[source]",
+ :source => "fl[source]", # dungeon, badges, arena, etc
:dungeon => "fl[dungeon]", # seems it needs the dungeons id rather than name
- :difficulty => "fl[difficulty]",
+ :difficulty => "fl[difficulty]", # normal, heroic, etc
:item_type => "fl[type]", # weapon, armor, trinket, etc
- :item_slot => "fl[slot]" # head, shoulders, etc
- :item_sub_type => "fl[subTp]" # leather, mail, etc
+ :item_slot => "fl[slot]", # head, shoulders, etc
+ :item_sub_type => "fl[subTp]", # leather, mail, etc
:realm => 'r',
:search => 'searchQuery',
:type => 'searchType',
@@ -1075,9 +1075,9 @@ def get_file(url, options = {})
:month => 'month',
:year => 'year',
:event => 'e',
- :now => 'now',
+ :now => 'now',
:achievement_category => 'c'
- }
+ }
params = []
options.each do |key, value|

0 comments on commit 4050257

Please sign in to comment.
Something went wrong with that request. Please try again.