fix #465, metacode sort problem
This commit is contained in:
parent
87389a88ed
commit
520fe095bd
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module ApplicationHelper
|
|||
@m = user.settings.metacodes
|
||||
set = get_metacodeset
|
||||
if set
|
||||
@metacodes = set.metacodes
|
||||
@metacodes = set.metacodes.to_a
|
||||
else
|
||||
@metacodes = Metacode.where(id: @m).to_a
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue