[Vtigercrm-developers] Related List and fields' order

Jonathan Sardo sardoj at gmail.com
Thu Feb 12 10:56:15 GMT 2015


>
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150212/ddc335aa/attachment-0001.html>
-------------- 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/ddc335aa/attachment-0005.png>
-------------- 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/ddc335aa/attachment-0006.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/ddc335aa/attachment-0007.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/ddc335aa/attachment-0008.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/ddc335aa/attachment-0009.png>


More information about the vtigercrm-developers mailing list