#3889 closed enhancement (fixed)
When searching on the activity page, you cannot search using an authors name.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Activity | Keywords: | has-patch needs-unit-tests |
Cc: |
Description
When using the search form on the Activity page, if you search for the name of the author of an activity item, nothing is returned. This functionality should included, then I think that it should be, as then you would be able to search for repeat offenders by name etc.
Attachments (1)
Change History (16)
#1
in reply to:
↑ description
@
13 years ago
#4
@
13 years ago
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement
Right now we use the activity loop search parameter, which doesn't search on username. Will have to take a look at how best to do this in a future release.
#6
@
8 years ago
Big conflict with adding username searching is that BuddyPress doesn't store user information as username. It's by user ID.
Perhaps, we could do a boolean based filter to conditionally search users. Basically, if the filter returns true, we do a user lookup by username. If we find a valid user, then we add the sql clause for also searching for the ID column based on the found user's ID.
See diff attached.
This ticket was mentioned in Slack in #buddypress by hnla. View the logs.
8 years ago
#11
@
7 years ago
- Milestone changed from Future Release to 3.0
Moving this to 3.0 so we decide if we want to do this or not, and how.
#13
@
7 years ago
- Keywords 2nd-opinion needs-testing removed
- Milestone changed from Under Consideration to 3.0
Disappointing to have no received feedback on this in the last 6 weeks.
Given the fact this behaviour would be toggled by a filter rather than it being some sort of new UI functionality, let's just get it in.
Replying to fanquake: