<div dir="ltr">While this is still a mystery, please disregard the below email. I was reading the columns wrong and mistook the subject for the owner. The owner is actually set properly, yet this and another ticket come up if you search for tickets whose owner is 'nobody'. Odd, but not quite as odd as I had in the below message.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 4, 2017 at 12:18 PM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all,<br></div>A while ago I was asking why owners don't always show in search results. I just had a look at one such ticket in the database:<br><br></div>select * from Tickets where id = 527;<br><br></div>The "Owner" column is set to the value "no owner shown in search results". I don't know how it got that way, or what it means. More puzzling still, if I open the ticket in the web UI, the owner is correct. Yet, this ticket shows up if I search for tickets in the UI with "Owner='nobody'". Somehow, RT knows the owner, but in the Tickets table has it set to this odd value I've never seen. What would cause this and, more importantly, how do I stop it from happening?<br><br></div>We have a script set up to make the requestor the owner automatically, but that's working (I got it straight from the Wiki). This means that users aren't manually adding themselves as owners, they're relying on the script to do it for them when the ticket is created. Yet, sometimes, we get a ticket like the one described above--no owner in the database or searches, but an owner when you view the actual ticket. Any thoughts as to how to fix this, and how RT knows the owner? Is it substituting the creator somehow? I'm very confused! Thanks for any suggestions.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><div><br>-- <br><div class="m_3858462597395204548gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>