Changes between Version 53 and Version 54 of AjaxList
- Timestamp:
- 2010-09-08T15:57:48Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AjaxList
v53 v54 169 169 {{{$extraFilters = array(key1 => value1, key2 => value2, key3 => value3);}}} 170 170 171 172 171 ==== Join Tables ==== 172 Joining in table in Ajax List lets you bring in other relevant data into your list. You can look up course name by their id's or check with classes the student is enrolled in. 173 174 All join are LEFT JOINs. One to one joins are supported the best, like looking up a name using an id. One to many joins a little more complex, since number on items in the list won't increase to accommodate the "many" entries". However, an extra filter or a join filter (bellow) can be used to isolate items of interest from the join. Otherwise, a {{{GROUP by Model.id }}} statement is issued to automatically group those "many" items back into one. 175 176 If simply joining in tables, without join filter, the $joinTable array contains an array for each table joined in: 177 {{{ 178 $joinTables = array( 179 array( " 180 }}} 173 181 174 182 ==== Join Table Filters ====