From c215ebee09464d7aae1d1c1c4183541532721ba5 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Tue, 20 Feb 2024 14:58:01 -0800 Subject: [PATCH] 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! --- app/controllers/items_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb index 6fd4df1a..c28fd8a6 100644 --- a/app/controllers/items_controller.rb +++ b/app/controllers/items_controller.rb @@ -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!