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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add more methods from TableCell
Dombi Attila2a5698411f7d
diff --git a/app/components/table_component.rb b/app/components/table_component.rbindex 994c1b3a863..e5766cd6c96 100644--- a/app/components/table_component.rb+++ b/app/components/table_component.rb@@ -152,18 +152,22 @@ class TableComponent < RailsComponentrender(row_class.new(row:, table: self))end- def render_collection(rows)- row_class.with_collection(rows, table: self)+ def initial_sort+ [columns.first, :asc]end- def inline_create_link- nil+ def initial_order+ initial_sort.join(' ')enddef paginated?rows.respond_to? :total_entriesend+ def inline_create_link+ nil+ end+def sortable?trueend