View Full Version : Owner filter
20-10-04, 01:30 AM
I would like to set up the “owner filter” as “All” (in the company module, for the case of a new user), the problem with “name of the user” is due to every time you need again to re-filter the module, and it is a lite bit annoy (from the user point of view). Is this possible?
I would like to do the same. I found this entry in the Tiki
However, the code that it quotes to change is not the same in 2.0.1
Basically, when a user goes to view companies, I would like the default filter to be set to "All", not set to that user.
25-10-05, 04:49 PM
Is there a solution for this problem in 2.0.1 yet? I can't seem to find it...
25-10-05, 07:38 PM
I was looking for this myself, and I think I've got it to work. In the second "if" statement of index.php, where it reads,
$owner_filter_id = $AppUI->user_id;
simply change it to,
$owner_filter_id = 0;
Hope this helps.
26-10-05, 05:21 PM
I already found another way :)
I changed the same statement to
$owner_filter_id = $AppUI->_('All');
thank you, thank you, THANK YOU both. Oh my goodness thank you. If I could buy you beer I would. In fact, if you're anywhere in the Northwest USA, and want a beer, come to the Blue Moon in Seattle on Friday night. My band is playing, (we're Stay Tuned, www.staytunedtheband.com), tell me you're the one who wrote one of the fixes to show all companies, and I will buy you a beer.
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.