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