Plugins Directory » Three Sorting

22792 Author: Jérôme BATAILLE
Code repository:
Registered on: 2019-04-11 (about 3 years ago)
Current version: 1.0.0
Compatible with: Redmine 4.1.x, 4.0.x, 3.4.x, 3.3.x, 3.2.x
User ratings:   (0)

Redmine plugin that adds a second and third possible sort, and a remove sort link

How it works

  • REWRITES QueryHelper.column_header
  • REWRITES SortHelper.sort_link
  • New methods added to Redmine::SortCriteria :
    • second_key, second_asc?
    • third_key, third_asc?
  • delete!, delete
  • New Application Helper needs_sort_css? to determine if the css file for sorts is necessary
  • Hook call to include css file in layout (view_layouts_base_html_head)

Enjoy !


1.0.0 (2019-04-11)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x, 3.3.x, 3.2.x.