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:
Emi Matchu 2024-02-20 14:58:01 -08:00
parent 0705f66f6d
commit c215ebee09

View file

@ -11,8 +11,6 @@ class ItemsController < ApplicationController
else else
per_page = 30 per_page = 30
end end
# Note that we sort by name by hand, since we might have to use
# fallbacks after the fact
@items = @query.results.includes(:translations). @items = @query.results.includes(:translations).
paginate(page: params[:page], per_page: per_page) paginate(page: params[:page], per_page: per_page)
assign_closeted! assign_closeted!