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 927
    • Issues 927
    • 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
  • #1811

Closed
Open
Opened Jun 11, 2020 by guyiac@guyiac

Search Builder statements not being built correctly when using Contact Id

In running a training on search, I built a search builder statement and it wasn't constructed correctly. I then tested this on dmaster and this is what I get:

This: image

Builds this: image

It should build this:

Contact ID < 100 ...AND... Total Amount > 50

OR

Contact ID > 200 ...AND... Total Amount > 50

On a hunch, as I was submitting this, I tried another field:

image

and it built this:

image

which is correct. I tried a few other combinations, which worked correctly, so it appears that it only happens when you search on Contact id, or at least that's the only one I could find it happening on.

Edited Jun 11, 2020 by guyiac
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#1811