#3889 closed enhancement (fixed)
When searching on the activity page, you cannot search using an authors name.
| Reported by: | fanquake | Owned by: | djpaul |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Activity | Version: | |
| Severity: | minor | 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
@
15 years ago
#4
@
15 years ago
- Milestone Awaiting Review → Future Release
- Type defect (bug) → 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
@
9 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.
9 years ago
#11
@
9 years ago
- Milestone Future Release → 3.0
Moving this to 3.0 so we decide if we want to do this or not, and how.
#13
@
9 years ago
- Keywords 2nd-opinion needs-testing removed
- Milestone Under Consideration → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Replying to fanquake: