Bug 1468388 - [RFE] Tasks: allow for searching of tasks by 'user'
[RFE] Tasks: allow for searching of tasks by 'user'
Status: ON_QA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Tasks Plugin (Show other bugs)
6.2.10
Unspecified Unspecified
medium Severity medium (vote)
: Beta
: --
Assigned To: Ivan Necas
: FieldEngineering, FutureFeature, Reopened, Triaged, UserExperience
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-06 19:03 EDT by Chris Duryee
Modified: 2018-06-03 02:15 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-09-15 12:08:52 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 20755 None None None 2017-08-28 07:29 EDT

  None (edit)
Description Chris Duryee 2017-07-06 19:03:20 EDT
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.
Comment 7 Adam Ruzicka 2017-08-28 07:29:53 EDT
Created redmine issue http://projects.theforeman.org/issues/20755 from this bug
Comment 8 Nagoor Shaik 2017-09-15 08:31:45 EDT
I believe we can do this currently with following search 

 owner.login = admin
Comment 9 Ivan Necas 2017-09-15 12:08:52 EDT
That's right. Thanks @nagoor for pointing out this
Comment 10 Chris Duryee 2017-09-15 16:26:53 EDT
can 'user' be added as a synonym for owner.login? it's difficult to figure out from the web ui to use owner.login, since the column is named 'user'.
Comment 11 Ivan Necas 2017-09-19 04:09:32 EDT
I'm ok with this: opened a PR upstream for it https://github.com/theforeman/foreman-tasks/pull/283
Comment 12 pm-sat@redhat.com 2017-09-19 06:03:36 EDT
Upstream bug assigned to inecas@redhat.com
Comment 13 pm-sat@redhat.com 2017-09-19 06:03:40 EDT
Upstream bug assigned to inecas@redhat.com
Comment 14 pm-sat@redhat.com 2017-09-19 12:03:49 EDT
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20755 has been resolved.

Note You need to log in before you can comment on or make changes to this bug.