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 933
    • Issues 933
    • 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
  • #538

Closed
Open
Opened Nov 20, 2018 by RayWright@RayWright

Activity search (advanced search) by subject - is exact match only

Searching activity subject (or details) from the advanced search form is set to an exact match (=). This seems less than ideal as most of the time you won't know the exact subject or details. While you can add the wildcard % characters to search, the standalone activity search form operates as you'd expect using the LIKE term.

Can the advanced search (activities section) be made to match this behavior?

Here's a detailed breakdown verified on the demo site:

  • Run an Advanced search for an activity that contains "Tell a Friend" in the subject line - no results.
  • Run a standalone activity search (Search > Find Activities) for an activity that contains "Tell a Friend" in the subject line - returns all the activities that subject line contains the search term, including "Subject for Tell a Friend".
  • Same problem when you search details or both.

Here is the on-screen feedback for the search results:

Advanced Search

No matches found for:
Activity targeted to ...AND...
Activity Text (Subject Only) = 'Tell a Friend' ...AND...
Activity Status In Completed

Find Activies

Activity targeted to ...AND...
Activity Text (Subject Only) Like '%Tell a Friend%' ...AND...
Activity Status In Completed
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#538