Bug 1260009

Summary: Create a better query builder for Custom Search
Product: [Community] Bugzilla Reporter: Jason McDonald <jmcdonal>
Component: Query/Bug ListAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 4.4CC: bkearney, jfearn, mtahir, qgong, sclewis, szidek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-23 23:01:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1207506, 1257476    
Bug Blocks: 1136014, 1211440    

Description Jason McDonald 2015-09-04 07:13:37 UTC
Over the years, users have reported a variety of issues with counter-intuitive behaviour of Bugzilla's Advanced Search page and particularly with the Custom Search portion of that page.  As part of the UI modernization effort, we should improve the Customer Search UI to be easier to use and to avoid the counter-intuitive cases.

One of the more common counter-intuitive cases is where users want to find bugs where one of the multi-value fields is "empty" (i.e. bugs that have no instances of that field).  To make this work the user has to formulate a search that says "Not : Alias : is not empty".  Bug 1254930 is one of several reports of this kind of issue.

Another issue is that the Custom Search criteria presents the same set of matching criteria for all fields types, even though some may not be applicable to every field type.

There are probably other issues too, and we should collect them here rather than filing each one separately so that we can address search problems in one go instead of doing it piecemeal.

Comment 1 Jason McDonald 2015-09-04 07:22:58 UTC
*** Bug 1254930 has been marked as a duplicate of this bug. ***

Comment 2 Jason McDonald 2015-09-04 07:28:19 UTC
*** Bug 1211720 has been marked as a duplicate of this bug. ***

Comment 3 Jason McDonald 2015-09-04 07:29:48 UTC
*** Bug 1218845 has been marked as a duplicate of this bug. ***

Comment 4 Jason McDonald 2015-09-04 07:30:40 UTC
*** Bug 1206186 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Fearn 🐞 2015-09-14 22:48:40 UTC
*** Bug 1258000 has been marked as a duplicate of this bug. ***

Comment 6 Jason McDonald 2015-09-21 08:57:51 UTC
*** Bug 1264786 has been marked as a duplicate of this bug. ***

Comment 8 Jeff Fearn 🐞 2016-01-13 06:11:51 UTC
DBIx-SearchBuilder is used in RT4 and is worth reviewing. 

http://search.cpan.org/~alexmv/DBIx-SearchBuilder-1.66/lib/DBIx/SearchBuilder.pm

Comment 9 Jeff Fearn 🐞 2018-03-16 04:15:17 UTC
Upstream?

Comment 12 Jeff Fearn 🐞 2019-01-14 01:17:07 UTC
*** Bug 1665487 has been marked as a duplicate of this bug. ***

Comment 13 Jeff Fearn 🐞 2019-01-23 23:01:40 UTC
In preparation for entering maintenance mode we are closing bugs that are unlikely to be scheduled in maintenance sprints.