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