Changeset 547 for trunk/Common/Form/Types
- Timestamp:
- Jun 13, 2013, 12:47:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/OneToMany.php
r540 r547 68 68 if(array_key_exists('View', $Type['Parameters'])) $Table = $Type['Parameters']['View']; 69 69 else $Table = $Type['Parameters']['Table']; 70 $Output = '`'.$Item['Name'].'`, (SELECT '.$Type['Parameters']['Name'].71 ' AS `Name` FROM `'.$Table.'`WHERE `'.70 $Output = '`'.$Item['Name'].'`, (SELECT `'.$Type['Parameters']['Name'].'`'. 71 ' AS `Name` FROM '.$Table.' WHERE `'. 72 72 $Type['Parameters']['Id'].'`=`'.$Item['Name'].'`) AS `'.$Item['Name'].'_Filter`'; 73 73 //} else $Output = '`'.$Item['Name'].'`, `'.$Item['Name'].'` AS `'.$Item['Name'].'_Filter`';
Note:
See TracChangeset
for help on using the changeset viewer.