ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suraj Khurana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10846) In AddFinAccountTrans selectable glAccountId values are sorted on glAccountId
Date Mon, 11 Mar 2019 06:22:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789193#comment-16789193
] 

Suraj Khurana commented on OFBIZ-10846:
---------------------------------------

Hello,

>>Every bug fix is an improvement.

Could you please explain this, with reason how a simple sorting thing can be a bug rather
than improvement?
It will help others to put their thoughts on this.

Thanks for reporting the bug (improvement) ;) 

> In AddFinAccountTrans selectable glAccountId values are sorted on glAccountId
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-10846
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10846
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch
15.12, 17.12.01, Release Branch 16.11, 16.11.04, 16.11.05, 16.11.06, Release Branch 17.12,
Release Branch 18.12, 18.12.01
>            Reporter: Pierre Smits
>            Assignee: Suraj Khurana
>            Priority: Major
>         Attachments: OFBIZ-10846.patch
>
>
> In the AddFinAccountTrans form in FinAccountForms.xml the values in the field glAccountId
are sorted on the primary key, per
> {code:java}
>         <field name="glAccountId" title="${uiLabelMap.GlAccount}">
>             <drop-down>
>                 <entity-options entity-name="GlAccountOrganizationAndClass"
key-field-name="glAccountId" description="${accountCode} - ${accountName} [${glAccountId}]">
>                     <entity-constraint name="organizationPartyId" operator="equals"
env-name="defaultOrganizationPartyId"/>
>                     <entity-order-by field-name="glAccountId"/>
>                 </entity-options>
>             </drop-down>
>         </field>
> {code}
> The sort order should however be on the accountCode field of the entity



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message