[rt-users] Two simple patches to make users easier to find.

Jerrad Pierce jpierce at cambridgeenergyalliance.org
Sat Nov 29 15:05:17 EST 2008


Barring the addition of a "user:" operator to Search::Googleish, here
are two light weight
patches that might be useful and potentially worthy of inclusion in
core? (Although a core
implementation would be different of course).

Search for requested tickets from a user's page
/local/html/Callbacks/Indirection/Admin/Elements/UserTabs/Default:
  <%init>
  $tabs->{this}->{subtabs}->{Tickets} = {
                                         title => loc('Tickets'),
                                         path =>
'Search/Results.html?Query=Requestor.id%3D'.$id
                                        };
  </%init>
  <%args>
  $tabs
  $id
  </%args>

Provide a pointer to the tucked away user search tool
local/html/Callbacks/Indirection/Search/Simple.html/PostForm:
  <p>P.S. To find people, <b><a href="/Admin/Users/index.html">search
users</a></b></p>
-- 
Cambridge Energy Alliance: Save money. Save the planet.



More information about the rt-users mailing list