Thanks. I've bounced this to rt-bugs for review and probable
application for 3.8.2
-jesse
On Sep 10, 2008, at 2:26 PM, Espen Wiborg wrote:
Jesse Vincent <[EMAIL PROTECTED]> writes:
>On Fri, Sep 05, 2008 at 10:49:35AM +0200, Espen Wiborg wrote:
>> Jesse Vincent <[EMAIL PROTECTED]> writes:
>>> As I sad before, I'd love to take a patch :)
>>
>> Something like this, perhaps?
>Given the sorts of customizability people want, it might make sense
to
>let the admin specify "SimpleSearchStatuses" (so that someone could,
>say, force it to "only resolved").
>
>You're actually only a couple lines away from making this a user
>preference.
>
>If you look at lib/RT/Config.pm, you can see the data structire you
need
>to fill in.
>
>To get your RT->Config->Get invocation to notice user preferences,
you
>just need to pass in the currentuser object as an extra argument.
Right, the attached version of the patch makes SimpleSearchStatuses
an absolute
configurable, overridable by user preference.
For best results, you'll need the patch in
http://rt3.fsck.com/Ticket/Display.html?id=12447
as well.
One thing, though: With this, I get "Use of uninitialized value in
join or string
at /usr/local/opt/rt3/share/html/Widgets/Form/Select line 74." in
the Apache error log. It
seems to be something to do with DefaultValue, but I can't figure
out how to make it go
away...
--
Espen Wiborg <[EMAIL PROTECTED]>
Veritas vos liberabit
<rt-customizable-
simplesearchstates
.patch>_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com