- Status Confirmed
- Percent Complete
- Task Type Bug Report
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Medium
- Priority Medium
- Reported Version 1.0-rc
- Due in Version 1.0
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Flyspray - The bug killer!
Opened by peterdd - 19.04.2016
Last edited by peterdd - 03.02.2018
Opened by peterdd - 19.04.2016
Last edited by peterdd - 03.02.2018
FS#2121 - 'my assigned tasks' uses like %?% search instead of user_id
Problem: https://github.com/Flyspray/flyspray/pull/552
The button ‘My assigned tasks’ should search only by userid, not in username or realname with the LIKE ‘%...%’ operator.
Currently the button is using the same as doing an advanced search filling the ‘Assigned To’ input field. (currently ‘dev’ param) But that search param searches in userid, username and realname.
Edit: Implemented simpler solution: if param is digitsonly, then search by userid, otherwise by username and realname if that param exists.
Loading...
Available keyboard shortcuts
- Alt + l Login Dialog / Logout
- Alt + a Add new task
- Alt + m My searches
- Alt + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + e ↵ Enter Edit this task
- Alt + w watch task
- Alt + y Close Task
Task Editing
- Alt + s save task
A bigger solution to the problem and also enhances the advanced search:
A hidden radio button set for
Example html code for the assigned user field: (CSS for the toggling behavior similiar to other like keyboards shortcuts not included)
When the autocompleter popups up and the user selects one of the search hits, the hidden radio button group should choose 'devsearchmode_username' instead of default soft search. (The user wants exact this user eg. peterdd, not peterdd1234 or blablapeterdd)
To solve the 'My assigned tasks' view the url would change from
to
or
(and /proj1/mytasks with htaccess rewrite nice urls enabled)
work on github:
https://github.com/Flyspray/flyspray/tree/exact-usersearch
Ahh, dropped that idea above.
I commited a simpler solution now to github master:
Better than before I think, but note that searching 'peter' in the opened_by field still would find tasks opened by peter, but also peterdd, 123peter, 'Peter Pan', ...