Commit Graph

217 Commits (b37cc0c1b35b6a603b87718ca248a7e32ef873b9)

Author SHA1 Message Date
Vitaliy Filippov b37cc0c1b3 Remove current user modification hack for Bugzilla::Search 2015-12-24 16:42:47 +03:00
Vitaliy Filippov 35df417ee1 Proper fix 2015-11-18 15:32:21 +03:00
Vitaliy Filippov e760a23ae2 Do not crash in Search when multiple values are passed to a single-value operator 2015-11-18 14:45:57 +03:00
Vitaliy Filippov fa514cfe14 Fix report column sorting 2015-07-10 17:53:06 +03:00
Vitaliy Filippov 84a118b055 Fix reports on multi-select columns 2015-07-10 15:56:28 +03:00
Vitaliy Filippov af5c909e18 Allow to report on joined fields 2015-07-10 15:24:09 +03:00
Vitaliy Filippov be95c9cd56 Check for all selected values in resolution field correctly 2015-03-17 12:31:37 +03:00
Vitaliy Filippov d5124aed4a trim content search query 2015-03-05 13:07:50 +03:00
Vitaliy Filippov 78dc6d4f6e Add separate parameters for "Period Worktime" column, remove usage of global variables 2015-03-04 13:34:40 +03:00
Vitaliy Filippov 09e8ab4495 Implement see_also and change multiselect searching 2015-01-15 18:33:02 +03:00
Vitaliy Filippov 583b32ba03 Remove longdesc and search-only fields from buglist columns 2015-01-15 12:43:43 +03:00
Vitaliy Filippov 29f1566374 Merge several identical LEFT/INNER joins into one LEFT 2014-11-14 02:30:58 +04:00
Vitaliy Filippov 303c598bb4 Fix DB update, fix warning in Bugzilla::Search 2014-11-13 18:47:32 +04:00
Vitaliy Filippov cbae72e2fb Fix dup_id search fields, remove attachments.* from buglist columns 2014-11-10 15:13:18 +03:00
Vitaliy Filippov 7491a479de Replace LEFT JOIN with INNER JOIN whenever it's possible
This only has profit for SQLite; no profit for normal databases.
2014-11-10 12:12:39 +03:00
Vitaliy Filippov c4c2ec3378 SQLite support, including EXPLAIN and FTS4 fulltext search 2014-11-10 12:11:03 +03:00
Vitaliy Filippov 153973fdfa Fix multiselect search bug 2014-10-31 15:50:15 +03:00
Vitaliy Filippov 904055ea47 Remove exports from Bugzilla::Search 2014-10-27 18:26:28 +03:00
Vitaliy Filippov b0b415b5b1 Change sql_interval to sql_date_math, like in upstream
(mozilla bug #602165, upstream commit 220a5e6608)
2014-10-24 18:20:25 +04:00
Vitaliy Filippov f0d648ea1e Fix some compatibility with PostgreSQL
Also add varchar/text/bpchar operator class support
2014-10-20 16:55:25 +04:00
Vitaliy Filippov d8c8ea112d Use identifiers for search orders, not names 2014-10-15 18:12:11 +04:00
Vitaliy Filippov cfd8911bdc Do not export anything from Bugzilla::User 2014-10-13 19:45:17 +04:00
Vitaliy Filippov 6574c7af78 Return specially treated fields in "Bug Changes" 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 0bd8cb5065 Do not wrap long operator descriptions 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 019812d8a1 Allow to use shared searches in "matched by saved search" operator
* Allow 'SearchName <user@domain.com>' operator value syntax
* Default to sharer in shared search subqueries
2014-10-07 15:00:56 +04:00
Vitaliy Filippov 856151ae85 Correctly hide email domain for anonymous users 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 185335c6ec width=100% for assignee, qa, cc fields; remove creation_ts is not null term (was needed before transaction support) 2014-10-07 15:00:53 +04:00
Vitaliy Filippov b1e2418b40 Use $field->value_type instead of Bugzilla::Field::Choice->type($field) 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 152654312b Remove useXXX parameters and use $field->enabled instead;
Make Bugzilla object always accessible in templates;
Allow only specific tweaks for standard fields and show which ones are allowed in the UI.
2014-10-07 14:58:17 +04:00
Vitaliy Filippov 924dff1b2f Remove also percentage_complete and days_elapsed from fielddefs 2014-10-07 14:58:16 +04:00
Vitaliy Filippov c059342976 Convert Keywords into a standard multi-select field 2014-10-07 14:58:16 +04:00
Vitaliy Filippov edd67ba651 Fix removed keywords column to work in search again 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 139e289d51 Remove also owner_idle_time and attachments.submitter fields 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 21237a5070 Rename Bugzilla::User::match to match_name to not hide Bugzilla::Object method 2014-10-07 14:58:16 +04:00
Vitaliy Filippov cb7ddc4331 Refactor result reporting, move the rest of ORM code from process_bug.cgi to actual ORM class 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 624d6551e1 Delete obsolete unused fields from fielddefs 2014-10-07 14:58:15 +04:00
Vitaliy Filippov cd3be7b750 Move clean_search_url out of CGI 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 33b91f8d94 Remove old LookupNamedQuery API, rename Bugzilla::Search::Saved->url to ->query 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 8001daf79d Move extra buglist columns from custis to core 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 0319a66bb4 Remove CGI interfacing from Bugzilla::Search 2014-10-07 14:58:14 +04:00
Vitaliy Filippov c2c97c06af Add clone_field_id attribute, make enter_bug.cgi honor it, remove obsolete APIs field.new_choice and get_field_id 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 5c035a5184 Bridge defaultXXX with fielddefs.default_value, use default values in Bugzilla::Bug ORM code 2014-10-07 14:58:14 +04:00
Vitaliy Filippov ea03382e62 Allow NULL in products having "unspecified" versions 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 0f4371e949 Make TIMETRACKING_FIELDS a hash 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 54cee0e478 Remove fielddefs.buglist and fielddefs.enter_bug parameters 2014-10-07 14:58:13 +04:00
Vitaliy Filippov ba674e44ef Make BUG_ID reverse relationships function
* Show them on the bug form
* Allow to search on them
* Allow to set them in excel import
2014-10-07 14:58:12 +04:00
Vitaliy Filippov 96bea7c648 Support truncated versions of assigned_to, reporter and qa_contact in search 2014-08-25 15:09:14 +04:00
Vitaliy Filippov 0b87f00ac8 Remove separate _notsubstring implementations :-(, rename "flag types" to "flags and requests" 2014-05-27 15:12:53 +04:00
Vitaliy Filippov 4214fa5524 Treat NULL as empty value in notsubstring operator 2014-05-26 23:13:31 +04:00
Vitaliy Filippov 327fbcb87e Allow to search on NULL value 2014-05-19 19:04:24 +04:00