mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-05 14:39:45 +00:00
4ca366981e
Both problems resulted in the popup search not showing anything and erroring out, the report name being empty in the list view and sorting by the report name would break the module because it would throw SQL errors without any way to recover and undo the sorting. This includes the following fixes for all of the above: * Fix the link id to point to the link * Rename the "aor_report_name" field in the search popup to match the vardef * Remove the "email" field in the search popup which doesn't exist in the vardef.
30 lines
690 B
PHP
30 lines
690 B
PHP
<?php
|
|
$popupMeta = array(
|
|
'moduleMain' => 'AOR_Scheduled_Reports',
|
|
'varName' => 'AOR_Scheduled_Reports',
|
|
'orderBy' => 'aor_scheduled_reports.name',
|
|
'whereClauses' => array(
|
|
'name' => 'aor_scheduled_reports.name',
|
|
'aor_report_name' => 'aor_scheduled_reports.aor_report_name',
|
|
),
|
|
'searchInputs' => array(
|
|
0 => 'name',
|
|
5 => 'aor_report_name',
|
|
),
|
|
'searchdefs' => array(
|
|
'name' =>
|
|
array(
|
|
'name' => 'name',
|
|
'width' => '10%',
|
|
),
|
|
'aor_report_name' =>
|
|
array(
|
|
'type' => 'relate',
|
|
'link' => true,
|
|
'label' => 'LBL_AOR_REPORT_NAME',
|
|
'id' => 'AOR_REPORTSAOR_REPORTS_IDA',
|
|
'width' => '10%',
|
|
'name' => 'aor_report_name',
|
|
),
|
|
),
|
|
);
|