_scope?
On Jul 13, 2013 5:56 AM, "Christian Winther" <notifications@github.com>
wrote:

> In Controller/Crud/Listener/SearchListener.php:
>
> > + * @param CakeEvent $e
> > + * @return void
> > + */
> > +	public function beforePaginate(CakeEvent $e) {
> > +		$controller = $this->_controller;
> > +		$request = $this->_request;
> > +		$model = $e->subject->model;
> > +
> > +		$this->_checkRequiredPlugin();
> > +		$this->_ensureComponent($controller);
> > +		$this->_ensureBehavior($model);
> > +
> > +		$controller->Prg->commonProcess($e->subject->modelClass);
> > +
> > +		$query = $request->query;
> > +		if (!empty($request->query['scope'])) {
>
> maybe rename it to 'scoped' instead; would probably reduce the chance of
> field overlap
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jippi/cakephp-crud/pull/30/files#r5179022>
> .
>