donh61500 2013-09-11 10:07
浏览 32
已采纳

日期字段不显示SugarCRM弹出窗口中的下拉列表

Hy Guys! I am facing a problem regarding datetime field display in Popup. If i add a datetime field to Advanced Search of ProspectLists it get displayed as shown below and works perfectly:

enter image description here

in the custom modules ProspectLists searchdefs advanced_search array it is defined as :

array (
    'type' => 'datetime',
    'label' => 'LBL_DATE_ENTERED',
    'width' => '10%',
    'default' => true,
    'name' => 'date_entered',        ),

but when i try to select a ProspectList from a Prospect List subpanel in Campaigns, the popup that gets displayed render the date field with out dropdown as shown below:

enter image description here

The other problem is this that when i perform search from popup for a specific date it displays nothing.

I am using SugarCRM CE 6.5.11. Any idea how to display dropdown with date field.?

  • 写回答

2条回答 默认 最新

  • douhuiwan5141 2013-09-11 13:45
    关注

    I think what you're looking for is the "Ranged Search" attribute.

    You can enable it in studio by going to the custom field and checking the "Enable Range Search" checkbox.

    Or, you can edit the custom/modules/{module}/metadata/SearchFields.php and add the following to the field in question:

    'enable_range_search' => true
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化
  • ¥15 Mirare PLUS 进行密钥认证?(详解)
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥20 想用ollama做一个自己的AI数据库
  • ¥15 关于qualoth编辑及缝合服装领子的问题解决方案探寻
  • ¥15 请问怎么才能复现这样的图呀