Two simple patches to make users easier to find

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.S. To find people, search users

Cambridge Energy Alliance: Save money. Save the planet.

Sorry, to avoid errors for other tabs in /Admin/Users, Default should be:
<%init>
$tabs->{this}->{subtabs}->{Tickets} = {
title => loc(‘Tickets’),
path =>
‘Search/Results.html?Query=Requestor.id%3D’.$id
} if defined($id);
</%init>
<%args>
$tabs
$id=>undef
</%args>
Cambridge Energy Alliance: Save money. Save the planet.