<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=Tig</id>
	<title>Tig - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=Tig"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Tig&amp;action=history"/>
	<updated>2026-08-23T14:49:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Tig&amp;diff=3863&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Tig&amp;diff=3863&amp;oldid=prev"/>
		<updated>2016-04-06T20:39:28Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sandbox for stuff that I need to put into the wiki properly&lt;br /&gt;
&lt;br /&gt;
RT and the odd results count, if you have a user and they don&amp;#039;t have permissions to see tickets that are included in a search you will get the odd situation where RT will say it found 50 tickets and then only show the user 10 or something daft.&lt;br /&gt;
&lt;br /&gt;
The reason is performance but this may not help.&lt;br /&gt;
&lt;br /&gt;
The following is taken from the mailing list here :&lt;br /&gt;
&lt;br /&gt;
[http://www.gossamer-threads.com/lists/rt/users/52333?search_string=Bug when returning count of tickets found;#52333 http://www.gossamer-threads.com/lists/rt/users/52333?search_string=Bug%20when%20returning%20count%20of%20tickets%20found;#52333]&lt;br /&gt;
&lt;br /&gt;
Now the fix is not supported or recommended as it nails the DB a bit but if you are a smaller site or have a smaller DB you can get away with this :)&lt;br /&gt;
&lt;br /&gt;
What will happen is that RT will do a search for the ticket and then iterate through the tickets checking each against the ACL.&lt;br /&gt;
&lt;br /&gt;
So copy [[Tickets Overlay|Tickets_Overlay]].pm to your local tree (in my case : /usr/local/share/request-tracker3.6/lib/RT/[[Tickets Overlay|Tickets_Overlay]].pm )&lt;br /&gt;
&lt;br /&gt;
Then edit somewhere around line 2495 ish (RT 3.4 here) so that the sub count all section now looks like this :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; # {{{ sub &amp;lt;/nowiki&amp;gt;[[CountAll]] sub [[CountAll]] {&lt;br /&gt;
&lt;br /&gt;
  my $self = shift;&lt;br /&gt;
 $self-&amp;amp;gt;_ProcessRestrictions() if ( $self-&amp;amp;gt;{&amp;#039;RecalcTicketLimits&amp;#039;} == 1 );&lt;br /&gt;
 my $i = 0;&lt;br /&gt;
 while ($self-&amp;amp;gt;Next) {&lt;br /&gt;
 $i++;&lt;br /&gt;
 }&lt;br /&gt;
 return $i;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# }}}&lt;br /&gt;
&lt;br /&gt;
Seems to be working on my dev box, will punt it at production tomorrow.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>