[Vtigercrm-developers] Related List and fields' order

Jonathan Sardo sardoj at gmail.com
Thu Feb 12 13:22:30 GMT 2015


Uma,

See in attachment a very simple module which creates a related list in
Account Module.
But you'll can see the first column is not well displayed

[image: Images intégrées 4]

[image: Images intégrées 3]

2015-02-12 14:08 GMT+01:00 Jonathan Sardo <sardoj at gmail.com>:

> Can you please let me know the test-case scenario to reproduce this case.
>
>
> This bug is visible every time with Custom Modules where there are not
> Summary Fields defined.
>
>
>
> 2015-02-12 14:02 GMT+01:00 Uma S <uma.s at vtiger.com>:
>
>> Ok Jonathan, Thanks! for getting the clarification on the issue.
>>
>> Can you please let me know the test-case scenario to reproduce this case.
>> So that we can fix this in product.
>>
>> On Thu, Feb 12, 2015 at 4:26 PM, Jonathan Sardo <sardoj at gmail.com> wrote:
>>
>>> Functionality of modified piece of code doesn't differ with original
>>>> code, but surely the number of lines reduced and unnecessary foreach is
>>>> avoided.
>>>
>>>
>>>
>>> Uma, with original code, there is a bug on the *first column* (it
>>> replaces the first and the last column):
>>>
>>> *Original code*
>>> [image: Images intégrées 2]
>>>
>>> *Modified code*
>>>
>>> *[image: Images intégrées 3]*
>>>
>>>
>>> *Another example:*
>>>
>>> *Original code*
>>> [image: Images intégrées 4]
>>>
>>> *Modified code*
>>> [image: Images intégrées 5]
>>>
>>>
>>> Regards,
>>>
>>> Jonathan SARDO
>>>
>>> 2015-02-12 11:43 GMT+01:00 Uma S <uma.s at vtiger.com>:
>>>
>>>> Hi Jonathan,
>>>>
>>>> Functionality of modified piece of code doesn't differ with original
>>>> code, but surely the number of lines reduced and unnecessary foreach is
>>>> avoided.
>>>>
>>>> On Thu, Feb 12, 2015 at 3:32 PM, Jonathan Sardo <sardoj at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> In a last thread we spoke about fields' order in Related List (for a
>>>>> custom module).
>>>>>
>>>>> I found a solution and I want to know what do you think about it:
>>>>>
>>>>> *In /modules/Vtiger/models/Module.php -
>>>>> function getRelatedListFields()*
>>>>>
>>>>> With these changes, Related Lists are well displayed
>>>>> [image: Images intégrées 1]
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jonathan SARDO
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> With
>>>> Best Regards
>>>> Uma.S
>>>> Vtiger Team
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>>
>> --
>> With
>> Best Regards
>> Uma.S
>> Vtiger Team
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 10257 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 68933 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12575 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 10606 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12149 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 32381 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 11625 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VerySimpleModule_2015-02-12_1.0.1.zip
Type: application/zip
Size: 4928 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/735bfce6/attachment-0001.zip>


More information about the vtigercrm-developers mailing list