how do i add reproducability to the filter

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
xsintill

how do i add reproducability to the filter

Post 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
xsintill

Post by xsintill »

oops forgot to mention i'm using version 1.0.0a3
KenTech
Posts: 33
Joined: 20 Dec 2011, 18:27
Location: Burbank, CA
Contact:

Re: how do i add reproducability to the filter

Post 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?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: how do i add reproducability to the filter

Post 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.
Please use Search before posting and read the Manual
KenTech
Posts: 33
Joined: 20 Dec 2011, 18:27
Location: Burbank, CA
Contact:

Re: how do i add reproducability to the filter

Post 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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: how do i add reproducability to the filter

Post 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
Please use Search before posting and read the Manual
KenTech
Posts: 33
Joined: 20 Dec 2011, 18:27
Location: Burbank, CA
Contact:

Re: how do i add reproducability to the filter

Post 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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: how do i add reproducability to the filter

Post 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
Please use Search before posting and read the Manual
newbe
Posts: 13
Joined: 14 Mar 2014, 16:06

Re: how do i add reproducability to the filter

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: how do i add reproducability to the filter

Post 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.
Please use Search before posting and read the Manual
Post Reply