<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #600: Numbers missing from Initiatives search page</title>
    <link>http://localhost:8080/trac/ticket/600</link>
    <description>&lt;p&gt;
When users do a search on /initiatives we are missing a number which pertains to the results of the report:
&lt;/p&gt;
&lt;p&gt;
It should say "XXX initiatives match your search criteria"
&lt;/p&gt;
&lt;p&gt;
The XXX bit is missing
&lt;/p&gt;
&lt;p&gt;
please check and resolve
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/600</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Fri, 11 Oct 2013 12:22:58 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/600#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/600#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Looked into this and it's a result of &lt;a class="assigned ticket" href="http://localhost:8080/trac/ticket/590" title="defect: Drupal performance improvements (assigned)"&gt;#590&lt;/a&gt; proposal K: Add &amp;amp; enable Views Lite Pager on big views.
&lt;/p&gt;
&lt;p&gt;
The use of this simpler pager saves an expensive database query... But that's need to get the count.
&lt;/p&gt;
&lt;p&gt;
So your choice, Ed:
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Reinstate the slow/expensive pager and get the count back
&lt;/li&gt;&lt;li&gt;Drop the whole line 'initiatives match your search criteria'
&lt;/li&gt;&lt;li&gt;Something else.
&lt;/li&gt;&lt;/ol&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Wed, 16 Oct 2013 13:24:17 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/600#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/600#comment:2</guid>
      <description>
        &lt;p&gt;
Choice is made:
&lt;/p&gt;
&lt;ol start="2"&gt;&lt;li&gt;Drop it.
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;
Therefore - I've looked at the view and see this .php - can I remove the whole lot?
&lt;/p&gt;
&lt;p&gt;
&amp;lt;?php
&lt;em&gt; Add results count - using different var names to avoid scoping issues
$my_view = views_get_current_view();
$my_total = $my_view-&amp;gt;total_rows;
print '&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;' . t('%count initiatives matched your search criteria.', array('%count' =&amp;gt; $my_total) ) .'&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;';
?&amp;gt;
&lt;/em&gt;&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 16 Oct 2013 19:09:51 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/600#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/600#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.15&lt;/em&gt; to &lt;em&gt;0.2&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
In this case you can indeed drop it -- though I've just gone ahead and done it - sorry to steal your PHP thunder!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Tue, 26 Nov 2013 19:03:00 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/600#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/600#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
This is done, so closing.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>