Project

General

Profile

Feature #20755

Tasks: allow for searching of tasks by 'user'

Added by Adam Ruzicka almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman plugin
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1468388

Description of problem:

It is not currently possible to search for tasks using the search bar via the 'user' field. If you attempt this, an error is raised.

Version-Release number of selected component (if applicable): 6.2.10

How reproducible: every time

Steps to Reproduce:
1. go to /foreman_tasks/tasks page
2. put 'user' in the search box, nothing auto-fills
3. type 'user = admin'

Actual results: error page saying that 'user' is not a valid search term

Expected results: successful search

Additional info: it's useful to search tasks by users to find syncs that were kicked off by a user at a particular time.

Associated revisions

Revision 4f680b17 (diff)
Added by Ivan Necas over 4 years ago

Fixes #20755 - introduce scoped search alias for user

It's now possible to search tasks by user by specifying `user = admin`:
this is an alias for `owner.login` field.

History

#1 Updated by Adam Ruzicka almost 5 years ago

  • Category set to Foreman plugin
  • Target version set to 113
  • Difficulty set to medium

#2 Updated by Ivan Necas over 4 years ago

  • Status changed from New to Resolved

It's possible to do that with `owner.login` filter

#3 Updated by The Foreman Bot over 4 years ago

  • Assignee set to Ivan Necas
  • Pull request https://github.com/theforeman/foreman-tasks/pull/283 added

#4 Updated by Ivan Necas over 4 years ago

  • Status changed from Resolved to Ready For Testing

#5 Updated by Ivan Necas over 4 years ago

  • Legacy Backlogs Release (now unused) set to 306

#6 Updated by Ivan Necas over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF