forked from OpenNeo/impress
Remove old unhelpful comment in item search
I think this was to explain why `order` wasn't part of this query, and we probably used to sort in the controller? But now the item search module takes care of all that, this is just confusing to say now imo!
This commit is contained in:
parent
0705f66f6d
commit
c215ebee09
1 changed files with 0 additions and 2 deletions
|
@ -11,8 +11,6 @@ class ItemsController < ApplicationController
|
|||
else
|
||||
per_page = 30
|
||||
end
|
||||
# Note that we sort by name by hand, since we might have to use
|
||||
# fallbacks after the fact
|
||||
@items = @query.results.includes(:translations).
|
||||
paginate(page: params[:page], per_page: per_page)
|
||||
assign_closeted!
|
||||
|
|
Loading…
Reference in a new issue