Skip to content

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

License

Notifications You must be signed in to change notification settings

Smile-SA/redmine_smile_three_sortings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redmine_smile_three_sortings

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)

Views where three sorts can be used :

  • Issues list (issues/_list)
  • Time entries list (timelog/_list)
  • My page issues blocks (my/blocks/_issues)
  • Board (boards/show)
  • Files list (files/index)
  • Users list (users/index)
  • Smile specific (used in Smile plugin) : ** Journals history list (journals_history/index) ** Weekly history list (weekly_history/index) ** Version workloads list (version_workloads/index)

Changelog

  • V1.0.2 Compatibility with RM V4.1+ #31433 of RM.org for RM > 4.1

Enjoy !

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published