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

Date range event searches include all events before start date without end date (including disabled events)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.11
    • Fix Version/s: None
    • Component/s: CiviEvent
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      This was reproduced on the Demo site (Drupal).

      Search Events using a date range.
      Be sure to have Events that fall inside, before and after the date range. Make some before disabled.
      Perform the search.
      All events in the date range are displayed (without and with end dates). But any events before the search start date are also displayed IF they do not have an end date. This includes any that are disabled.
      Events after the end date are not displayed whether or not they have an end date.

      I will update this issue when I have had a chance to look at the code.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ehendricks Ellen Hendricks
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: