<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #2438: resource_search action not accessible via GET request</title>
    <link>http://localhost/ticket/2438</link>
    <description>&lt;p&gt;
This action is not currently usable via a GET request as it relies upon a nested dict of fields.
&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/2438</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>icmurray</dc:creator>

      <pubDate>Mon, 28 May 2012 09:34:15 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/2438#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/2438#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-v1.8&lt;/em&gt; to &lt;em&gt;current-ckan-sprint-2012-06-25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>icmurray</dc:creator>

      <pubDate>Mon, 28 May 2012 13:37:14 GMT</pubDate>
      <title>keywords, status changed; owner set</title>
      <link>http://localhost/ticket/2438#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/2438#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;keywords&lt;/strong&gt;
              &lt;em&gt;[1d]&lt;/em&gt; added; &lt;em&gt;[?d]&lt;/em&gt; removed
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;icmurray&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Proposed solution:
&lt;/p&gt;
&lt;p&gt;
Add a new q field which can be specified multiple times.  Each q parameter is a string: &lt;tt&gt;{field}:term&lt;/tt&gt;.  &lt;tt&gt;:&lt;/tt&gt; characters are escaped in the &lt;tt&gt;{field}&lt;/tt&gt; by &lt;tt&gt;\:&lt;/tt&gt;.
&lt;/p&gt;
&lt;p&gt;
Mark the &lt;tt&gt;fields&lt;/tt&gt; parameters as deprecated.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>icmurray</dc:creator>

      <pubDate>Tue, 19 Jun 2012 09:26:13 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/2438#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/2438#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;current-ckan-sprint-2012-06-25&lt;/em&gt; to &lt;em&gt;ckan-v1.8&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>icmurray</dc:creator>

      <pubDate>Mon, 25 Jun 2012 14:53:32 GMT</pubDate>
      <title>status changed</title>
      <link>http://localhost/ticket/2438#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/2438#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&lt;/em&gt; to &lt;em&gt;accepted&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>icmurray</dc:creator>

      <pubDate>Tue, 26 Jun 2012 18:41:52 GMT</pubDate>
      <title>priority changed</title>
      <link>http://localhost/ticket/2438#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/2438#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;minor&lt;/em&gt; to &lt;em&gt;awaiting merge&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Ready to be merged &lt;a class="missing changeset" title="No default repository defined"&gt;[1]&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Brief synopsis of changes:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;altered return type of the action: from Resource domain objects to dictized resources.  This is required if this action is to be made accessible through the action api as the domain object is not json-serializable.  The 'old' return type is still available by passing in a flag in the context.  In fact, this is required as the search layer uses this action, and deals with the domain objects directly.
&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;decided that escaping the ':' (as described in above comments) wasn't necessary as resource fields shouldn't have ':' characters in them anyway.
&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;improved action's docstring
&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;'fields' parameter has been deprecated ( see &lt;a class="new ticket" href="http://localhost/ticket/2603" title="refactor: Remove deprecated 'fields' parameter from resource_search (new)"&gt;#2603&lt;/a&gt; ).  Use of it by the search layer has been removed in favour of the new 'query' parameter.  But it still works, and correctly maintains backward compatibility.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
&lt;a class="missing changeset" title="No default repository defined"&gt;[1]&lt;/a&gt; &lt;a class="ext-link" href="https://github.com/okfn/ckan/pull/37"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/okfn/ckan/pull/37&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Wed, 04 Jul 2012 12:46:45 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/2438#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/2438#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;accepted&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>
 </channel>
</rss>