Oops, forgotten todo :)
On 20 May 2013 16:01, "Robbie MacKay" <notifications@github.com> wrote:

> In application/classes/Controller/Api/Sets.php:
>
> > +				->limit($this->record_limit);
> > +
> > +		//Prepare search params
> > +		$q = $this->request->query('q');
> > +		if (! empty($q))
> > +		{
> > +			$sets_query->where('name', 'LIKE', "%$q%");
> > +		}
> > +
> > +		$set = $this->request->query('name');
> > +		if (! empty($set))
> > +		{
> > +			$sets_query->where('name', '=', $set);	
> > +		}
> > +
> > +		//@todo retrieve sets by user
>
> Any reason not to do this now?
>
> $user = $this->request->query('user');
>         if (! empty($user))
>         {
>             $sets_query->where('user_id', '=', $user);
>         }
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ushahidi/Lamu/pull/51/files#r4307710>
> .
>