Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20734

State doesn't populate on first load of view even if country is selected.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.19
    • Fix Version/s: 4.7.30
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      To reproduce -

      1. Create a view with civicrm contacts.
      2. Add country and state as field and Filter.
      3. Expose the country and state filter to user in filter settings and make country as required.
      4. Save the View and check the view page.

      On load of the view - country is selected with a value but state field is empty.

      Changing the value in country field works properly and loads the respective state in the state field correctly. It is only the initial load that need to be fixed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: