Skip to:
Content

BuddyPress.org

Opened 6 years ago

Last modified 6 years ago

#7864 new enhancement

Message search by User name

Reported by: dipeshkakadiya's profile dipesh.kakadiya Owned by:
Milestone: Under Consideration Priority: normal
Severity: normal Version: 3.0.0
Component: Messages Keywords:
Cc:

Description

On Message component, we can only search message by it's subject and content. it's good if we can add functionality to search Message by sender and receiver name

For Inbox item

  • it should be filter by sender name

For Sent item

  • it should be filter by receiver name

Attachments (1)

7864.patch (1.4 KB) - added by dipesh.kakadiya 6 years ago.
Added patch file to search message by user ( sender and receiver )

Download all attachments as: .zip

Change History (4)

@dipesh.kakadiya
6 years ago

Added patch file to search message by user ( sender and receiver )

#1 @imath
6 years ago

Hi @dipesh.kakadiya

Thanks a lot for your feedback, suggestion and patch. I'm wondering, giving the fact a Private message thread can involve more than two participants (sender/receiver) if we should add this feature. If so, I think it should be optional like:

  • search all messages
  • search all messages received from username
  • search all messages sent to username

#2 @dipesh.kakadiya
6 years ago

HI @imath

As I understand,

I'm wondering, giving the fact a Private message thread can involve more than two participants (sender/receiver) if we should add this feature.

Current patch will work if we have more than on participants in message

I think it should be optional like:
search all messages
search all messages received from username
search all messages sent to username

For optional, I think we need to add setting or somehow we can give option to choose scope of search to user.

#3 @DJPaul
6 years ago

  • Milestone changed from Awaiting Review to Under Consideration

I think there is difference between searching and filtering. We search a message for a phrase, and filter all messages by recipients. My gut feeling is that searching by recipient is going to make this search's results less valuable. What do other people think?

If we did want to proceed, we want to see a before/after MYSQL EXPLAIN to evaluate the impact of the changed query.

Note: See TracTickets for help on using tickets.