Closed Bug 250881 Opened 21 years ago Closed 21 years ago

After creating a series DEFAULT query format is to create a series

Categories

(Bugzilla :: Reporting/Charting, defect, P1)

2.17.7
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: bugreport, Assigned: glob)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

After the preferred format cookie went in, the search page uses the format of the last search page used... even if it was for a series.
Priority: -- → P1
Target Milestone: --- → Bugzilla 2.18
This is a regression from bug 245077. Critical because search is rendered unusable unless you manually clear the cookie.
Flags: blocking2.18?
I'd even call it a blocker. I specifically rejected the first patch for the query page for exactly this reason...
Severity: critical → blocker
Flags: blocking2.18? → blocking2.18+
Depends on: 245077
Assignee: gerv → bugzilla
Status: NEW → ASSIGNED
Attachment #152896 - Flags: review?(justdave)
Comment on attachment 152896 [details] [diff] [review] use whitelist instead of blacklist for format cookie >+# Set cookie to current format as default, but only if the format >+# one that we should remember. >+my $format_qm = quotemeta($vars->{'format'}); >+if (grep /^$format_qm$/, qw(specific advanced)) { variables in regexps are naughty. ;) how about: if (grep {$_ eq $vars->{'format'}} qw(specific advanced)) { Then you don't need to mess with quotemeta or anything.
Attachment #152896 - Flags: review?(justdave) → review-
Attachment #152896 - Attachment is obsolete: true
Attachment #152899 - Flags: review?(justdave)
Attachment #152899 - Flags: review?(justdave) → review+
Flags: approval2.18+
Flags: approval+
checked in on both branches
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 251157 has been marked as a duplicate of this bug. ***
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: