ORIENT/modules
nicolas-lescop d0cc667c8b Extend query on relation behavior
From a relation behavior config file like this

status:
     label: Status
     list: @/plugins/path/to/your/relation/config/columns.yaml
     emptyMessage: backend::lang.list.no_records

You can extend the list query with this method :

relationExtendQuery($query, $field, $manageMode)
{
     if ($field == 'status') $query->where('thing', '=', $this->thing);
}
2014-12-02 15:03:06 +01:00
..
backend Extend query on relation behavior 2014-12-02 15:03:06 +01:00
cms Refs #792 - Fixes logic error 2014-11-26 17:31:07 +11:00
system Fixes #145 - Plugin details now support "homepage" property 2014-11-27 17:21:30 +11:00