<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1547: Add search methods (before and after) to the IPackageController interface</title>
    <link>http://localhost/ticket/1547</link>
    <description>&lt;p&gt;
Time estimate: 1d
&lt;/p&gt;
&lt;p&gt;
Add a two search method to the IPackageController interface so extensions can:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Modify the query being sent to Solr
&lt;/li&gt;&lt;/ul&gt;&lt;pre class="wiki"&gt;
def before_search(search_params):
    return search_params
&lt;/pre&gt;&lt;ul&gt;&lt;li&gt;Modify the results returned (&lt;tt&gt;after_search&lt;/tt&gt;)
&lt;/li&gt;&lt;/ul&gt;&lt;pre class="wiki"&gt;
def after_search(search_results, search_params):
    return search_results
&lt;/pre&gt;&lt;p&gt;
Please see this pad for implementation details:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://ckan.okfnpad.org/search"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://ckan.okfnpad.org/search&lt;/a&gt;
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1547</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Tue, 13 Dec 2011 12:32:45 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1547#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1547#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1547?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Tue, 13 Dec 2011 12:32:56 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1547#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1547#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1547?action=diff&amp;amp;version=2"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Tue, 13 Dec 2011 12:36:48 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1547#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1547#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1547?action=diff&amp;amp;version=3"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Mon, 16 Jan 2012 14:26:15 GMT</pubDate>
      <title>summary, description, milestone changed</title>
      <link>http://localhost/ticket/1547#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1547#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Add a search method to the IPackageController interface&lt;/em&gt; to &lt;em&gt;Add search methods (before and after) to the IPackageController interface&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1547?action=diff&amp;amp;version=4"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-sprint-2011-12-19&lt;/em&gt; to &lt;em&gt;current-ckan-sprint-2012-01-23&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Thu, 19 Jan 2012 16:56:50 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1547#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/1547#comment:5</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;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Fri, 24 Feb 2012 11:52:59 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1547#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/1547#comment:6</guid>
      <description>
        &lt;p&gt;
Went into CKAN 1.6
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>