Project

General

Profile

Plugins Directory » Three Sorting

Author: Jérôme BATAILLE
Website: https://github.com/Smile-SA/redmine_smile_three_sortings
Code repository: https://github.com/Smile-SA/redmine_smile_three_sortings
Registered on: 2019-04-11 (over 5 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 !

Changelog

1.0.0 (2019-04-11)

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