Uploaded image for project: 'DHIS2 Connector'
  1. DHIS2 Connector
  2. DCM-28

Map indicator mappings using index in Run Report view

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 1.5.2
    • None

    Description

      Currently, indicator mappings in the Run Report view are mapped with the created timestamp. Since the timestamp can be duplicated, it isn't suitable to use as a unique identifier. Moreover, the run report view iterates through the fetched array which contains indicator mappings in each function to get the selected mapping using the js filter function which is not optimized for the use case.   

       A possible solution would be using the indexes of the mappings to identify the selected one. Furthermore, we can keep the selected mapping in a global variable so that it can be accessed within other functions without going through the UI. 

      Gliffy Diagrams

        Attachments

          Activity

            People

              bawanthathilan Bawantha Rathnayaka
              bawanthathilan Bawantha Rathnayaka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 10 minutes
                  2h 10m