Remove direct dependency on Bugzilla::CGI and Bugzilla::Search::Quicksearch

NEW
Unassigned

Status

()

Bugzilla
Query/Bug List
a year ago
a year ago

People

(Reporter: dylan, Unassigned)

Tracking

({good-first-bug})

5.1.1
good-first-bug

Details

(Reporter)

Description

a year ago
Probably the hairiest part of the code I have on BMO to allow searches to be backed by Elasticsearch is the fact I have to create an object that pretends to be Bugzilla::CGI in order to pass arguments into Bugzilla::Search::Quicksearch to build its query data structure.

The function quicksearch() should return a plain hash of the search parameters.
This will make using it from the API and other places easier, and we can
even add unit testing to the query language.
(Reporter)

Updated

a year ago
Keywords: good-first-bug
You need to log in before you can comment on or make changes to this bug.