Loriowar / redmine_issues_tree

Provides a tree view of the Redmine issues list
GNU General Public License v3.0
115 stars 72 forks source link

The issues export will be hidden. #115

Open uart-aplex opened 3 years ago

uart-aplex commented 3 years ago

If enabled the issue tree view, then the issues exports to CVS, PDF features will be hidden, can this been fixed(keep export available with tree view) on next version of issue tree?

Loriowar commented 3 years ago

This is quite difficult feature at least due to unobvious behaviour of CSV. In the initial issues#index page Redmine use current filter and pass all filtered issues into CSV. But in case of tree view we have at least three different ways:

  1. use filter in the same ways as on the plain issues view and pass all filtered issues into CSV;
  2. pass into CSV only visible issues in the tree view;
  3. pass into CSV only first level of the issues from the tree view.

Moreover, in the first and second we will lose the tree view in CSV and, possibly, lost the order of the issues. Saving the issues order and/or adding info about issue nesting level will require additional efforts.

That is why I removed any export from tree view. You can start returning this back and I'll help with final code variant, but I'm not plan to implement this feature in closest future. To my mind, you can just finter issues on the tree view, then switch to plain view (filter will be saved) and use export in any format by your choice.