Page 1 of 1

how do i add reproducability to the filter

Posted: 16 Jun 2005, 14:39
by xsintill
i'd like to add the field reproducability to the filters part of the view_all_bug_page.php. but i'm uncertain what would be the best approach

Posted: 16 Jun 2005, 14:44
by xsintill
oops forgot to mention i'm using version 1.0.0a3

Re: how do i add reproducability to the filter

Posted: 05 Feb 2013, 00:16
by KenTech
I noticed this is a very old thread, but I would also like to add Reproducibility to the search filters. What files need to be modified?

Re: how do i add reproducability to the filter

Posted: 07 Feb 2013, 21:26
by atrol
This is a quite old feature request
http://www.mantisbt.org/bugs/view.php?id=6523

To be honest: If you are not able to find the files which need to be changed you will hardly be able to make the needed changes.
Maybe you want start reading core/filter_api.php to understand what I mean.

Re: how do i add reproducability to the filter

Posted: 07 Feb 2013, 21:54
by KenTech
atrol wrote:This is a quite old feature request
http://www.mantisbt.org/bugs/view.php?id=6523

To be honest: If you are not able to find the files which need to be changed you will hardly be able to make the needed changes.
Maybe you want start reading core/filter_api.php to understand what I mean.
So... that happened. Way to be condescending. I just needed the file to change, and I'm thankful that you gave that to me.

To be honest: I have made some modifications myself to the bug tracker quite successfully.

Thank you for your assistance.

Re: how do i add reproducability to the filter

Posted: 07 Feb 2013, 22:32
by atrol
I am not complete sure if I understand right what you mean with: "Way to be condescending"
I don't want to offend anyone.
Please be aware that I am not a native English speaker (just a few years English in school)
Sorry if I used misleading formulation.

What I want to say is: The source code of the filtering capability of MantisBT is quite complex.
You need some time to understand all aspects (storing of filters, permalinks, filter types, html ui, ...)
Even some of the core developers of MantisBT hesitate to change the existing code.
There is a major rewrite required to get a better maintainable and understandable code.

If you succeed in developing this enhancement it would be great if you attach your patches to the issue to help other users.
http://www.mantisbt.org/bugs/view.php?id=6523
Or even better you can send us a Pull Request on our Github repository https://github.com/mantisbt/mantisbt

Re: how do i add reproducability to the filter

Posted: 07 Feb 2013, 22:53
by KenTech
atrol wrote:I am not complete sure if I understand right what you mean with: "Way to be condescending"
I don't want to offend anyone.
Please be aware that I am not a native English speaker (just a few years English in school)
Sorry if I used misleading formulation.

What I want to say is: The source code of the filtering capability of MantisBT is quite complex.
You need some time to understand all aspects (storing of filters, permalinks, filter types, html ui, ...)
Even some of the core developers of MantisBT hesitate to change the existing code.
There is a major rewrite required to get a better maintainable and understandable code.

If you succeed in developing this enhancement it would be great if you attach your patches to the issue to help other users.
http://www.mantisbt.org/bugs/view.php?id=6523
Or even better you can send us a Pull Request on our Github repository https://github.com/mantisbt/mantisbt
My apologies if it was a language barrier, but the wording was a little... off. :)

If filters are especially complex, I might stay away from it. Did you mean that a major rewrite is in development?

Thanks again and sorry for the confusion.

Re: how do i add reproducability to the filter

Posted: 09 Feb 2013, 14:35
by atrol
KenTech wrote:Did you mean that a major rewrite is in development?
There are some improvements in development master branch but I wouldn't call it a major rewrite
https://github.com/mantisbt/mantisbt/co ... er_api.php

Re: how do i add reproducability to the filter

Posted: 05 Sep 2016, 13:47
by newbe
Hello,
after searching the forum I found a topic exactly on my requirement.
I also had a look into the filter api - however, modifying it is not an option for me.
Is there an update on the status of the changes resp. rewrite in the filter api?
I'm using V1.2.19 - are there improvements (on this topic) in v1.3 to be expected?

Cheers Uli

Re: how do i add reproducability to the filter

Posted: 06 Sep 2016, 08:49
by atrol
newbe wrote:are there improvements (on this topic) in v1.3 to be expected?
1.3.1 has been released. You are still not able to filter based on reproducibility.
One workaround could be to add reproducibility to the fields of the "View Issues" page and sort by this field.
Another workaround would be to export the issues and use Calc/Excel for filtering.