Set default value for "assigned to" filter to myself

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
rsoft
Posts: 16
Joined: 05 Jan 2014, 14:57
Contact:

Set default value for "assigned to" filter to myself

Post by rsoft »

Hello all
First of all thank you for this amazing software ...
I want to set default value for "assigned to" filter (in view_all_bug_page.php) to myself.
How can I do this?

In fact, I want when my users going to "view_all_bug_page", (by default) viewing his "assigned to" works, not all works.

thank you for your attention and
Waiting for your response.
atrol
Site Admin
Posts: 8572
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Set default value for "assigned to" filter to myself

Post by atrol »

This is not possible the way you want without changing the source code.

Did you consider to store a global filter for it (Assigned to: [Myself])?
Please use Search before posting and read the Manual
rsoft
Posts: 16
Joined: 05 Jan 2014, 14:57
Contact:

Re: Set default value for "assigned to" filter to myself

Post by rsoft »

Hello dear Atrol and thank you for your response.
I set it, but when i open the form for the first time, I want to set it to [Myself] till user change it.

I have not problem for changing source code, but i don't know where to change?
atrol
Site Admin
Posts: 8572
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Set default value for "assigned to" filter to myself

Post by atrol »

rsoft wrote: I have not problem for changing source code
Really?
Seems you have :wink:
rsoft wrote:but i don't know where to change?
You should be aware that changing source might introduce other issues and that the changes have to be reapplied (sometimes in another way) after upgrading to a newer version.
Please use Search before posting and read the Manual
Post Reply