Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Disable pagination for now

Oliver Günther59f2ff1ab75e
diff --git a/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rb b/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rb
index 6dc62efe1dc..a8c3fecb5eb 100644
--- a/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rb
+++ b/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rb
@@ -30,8 +30,6 @@
module ::IFCModels
class IFCModelsController < BaseController
- include PaginationHelper
-
before_action :find_project_by_project_id, only: %i[index new create show edit update destroy]
before_action :find_ifc_model_object, except: %i[index new create]
@@ -42,10 +40,8 @@ module ::IFCModels
def index
@ifc_models = @project
.ifc_models
- .order('created_at DESC')
+ .order('updated_at DESC')
.includes(:uploader, :project)
- .page(page_param)
- .per_page(per_page_param)
end
def new