Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 932
    • Issues 932
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #1592

Closed
Open
Opened Feb 13, 2020 by bgm@bgmOwner

Advanced Search: "active period" filter regression

To reproduce:

  • Go to: https://dmaster.demo.civicrm.org/civicrm/contact/search/advanced?reset=1
  • Under "Relationships", select "Relationship Status" = Active.
  • Click search, notice you get 85 results.

Now under the relationships,

  • Select "Relationship Status" = "All"
  • then "Active Period" = "Today"

This should give the same number of results, but it returns zero results.

I traced it to a regression caused by 6245de60

https://github.com/civicrm/civicrm-core/pull/16287

I'm not sure how to fix this except from checking: $fieldSpec['name'] == 'relation_active_period_date' to reverse the date conditions.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
5.23.1
Milestone
5.23.1
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#1592