Skip to content

Commit

Permalink
update sort modes
Browse files Browse the repository at this point in the history
  • Loading branch information
Silencer2K committed Sep 4, 2015
1 parent c09ddbd commit d2e02d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selist.lua
Expand Up @@ -198,7 +198,7 @@ end
function _selist2_get_senders(offset, limit, filter_cat, sort_order, sort_reverse)
local ret_list = {}

local sort_index = { name = 1, domain = 2, name_ru = 4, name_en = 5, cat = 3 }
local sort_index = { name = 1, domain = 2, name_ru = 4, name_rus = 4, name_en = 5, name_eng = 5, cat = 3 }
local index = sort_index[sort_order] or 0

_selist2_iterate_tuples(filter_cat, index, function(tuple)
Expand Down

0 comments on commit d2e02d6

Please sign in to comment.