Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2684

Harmonize getProviders and getProvidersCount methods in the DAO layer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Change Request Cancelled
    • Affects Version/s: None
    • Fix Version/s: 1.9 Road Map Sprint 4
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      HibernateProviderDAO.getProvders() is not guaranteed to return the same number of search results as the value returned by getCountOfProviders() because it filters the hits against the serializedAttributeValues which is not done in the getCount method and this will break the search widget. This logic needs to be baked into the criteria(i doubt if this is possible) or into the getCount method too.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wyclif Wyclif Luyima
                Reporter:
                wyclif Wyclif Luyima
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: