Skip to content

treatmentTable visitDate order not working #1028

@mdg583

Description

@mdg583

After installing Bahmni 0.93, the visits in the treatment table seemed to be all out of order.

The reason seems to be in the file "ui/app/clinical/displaycontrols/treatmentData/views/treatmentTable.html". In line 5, the code is:

        <table ng-repeat="drugOrderSection in ::drugOrderSections | orderBy: drugOrderSection.visitDate"
               class="repeated-table drug-order-table">

I believe this needs to be

        <table ng-repeat="drugOrderSection in ::drugOrderSections | orderBy: '::visitDate'"
               class="repeated-table drug-order-table">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions