Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/254.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何在SuiteRM 7.9.1中为文档模块子面板设置自定义排序顺序_Javascript_Php_Sorting_Sugarcrm_Suitecrm - Fatal编程技术网

Javascript 如何在SuiteRM 7.9.1中为文档模块子面板设置自定义排序顺序

Javascript 如何在SuiteRM 7.9.1中为文档模块子面板设置自定义排序顺序,javascript,php,sorting,sugarcrm,suitecrm,Javascript,Php,Sorting,Sugarcrm,Suitecrm,我试图使用layoutdefs.php文件按活动日期排序 $layout_defs['Documents']['subpanel_setup']['documents'] = array( 'order' => 50, 'sort_order' => 'desc', 'sort_by' => 'active_date', ); 我做了一个快速修复和重建,但排序不起作用,然后这给我看了一个有无序记录的模块 如何进行自定义

我试图使用layoutdefs.php文件按活动日期排序

  $layout_defs['Documents']['subpanel_setup']['documents'] = array(
        'order' => 50,
        'sort_order' => 'desc',
        'sort_by' => 'active_date',
   );
我做了一个快速修复和重建,但排序不起作用,然后这给我看了一个有无序记录的模块


如何进行自定义排序?

您使用的语法正确。通过单击子面板中的字段标签,确保未应用自定义排序。如果您选择从前端对任何其他字段进行排序,则您在定义中定义的字段将被覆盖。您使用的语法正确。通过单击子面板中的字段标签,确保未应用自定义排序。如果您选择从前端对任何其他字段进行排序,则您在定义中定义的字段将被覆盖。