Closed dreed47 closed 11 years ago
You can achieve this by creating two separate projects.
Take a look at this screenshot:
https://raw.github.com/cgaspard/mantiskanban/master/screenshots/screen2.png
The yellow tabs at the top represent Mantis projects. Each one having its own board.
Yeah, I get that I could do it with separate projects but I'm dealing with existing mantis tool/team/processes that have been in place for years and we dont use separate projects for bugs and features. Ideally I could see this as providing a dropdown for the filter to use. the available filters for each project could be retrieved from mantis. This has the added benefit of not requiring the user to enter the default filter ID at setup time.
I had thought about doing this, but I had thought that I didnt' have a way to enumerate the filters in the MantisConnect API. I do see now that "mc_filter_get" actually gets all the filters. Since the name wasn't plural, I assumed it only returned a single filter.
I will see if I can enumerate those and apply them as you mentioned.
This is quick and dirty hack. I'm sure I'll want to improve the GUI for this. I think this is what you wanted though.
Released with commit acf02c3
This looks it would work for me. Thanks! for putting it in so quick!
Okay i'll close this for now. If you have issues, we can reopen later.
I'm getting many of my filters that hang and don't load any data. I'll have to try to get some time to debug it a little more to see if I see a pattern.
We use separate boards bugs and features. It would be helpful to be able to select between two different mantis filter ids while viewing the board