Closed Bug 545576 Opened 15 years ago Closed 15 years ago

Add "greaterthaneq" and "lessthaneq" charts to do >= and <= searches

Categories

(Bugzilla :: Query/Bug List, enhancement)

3.5.3
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: mkanat, Assigned: reed)

References

Details

Attachments

(1 file, 1 obsolete file)

In order to move the "votes" functionality into an extension without hooking Search.pm (which we are currently pretty much unable to do in any good way), I need a "greaterthaneq" chart in Search.pm.
Attached patch patch - v1 (untested) (obsolete) — Splinter Review
Two for the price of one.
Assignee: query-and-buglist → reed
Status: NEW → ASSIGNED
Attachment #426433 - Flags: review?(mkanat)
Summary: Add a "greaterthaneq" chart to do >= searches → Add "greaterthaneq" and "lessthaneq" charts to do >= and <= searches
Comment on attachment 426433 [details] [diff] [review] patch - v1 (untested) A few of the other charts need modification, and we should add these to the boolean-charts template.
Attachment #426433 - Flags: review?(mkanat) → review-
Attachment #426433 - Attachment is obsolete: true
Attachment #426437 - Flags: review?(mkanat)
Comment on attachment 426437 [details] [diff] [review] patch - v2 (untested) Looks good to me! :-) Thanks! :-)
Attachment #426437 - Flags: review?(mkanat) → review+
Flags: approval+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Search.pm modified template/en/default/search/boolean-charts.html.tmpl Committed revision 6985.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Well, the way of doing is rather "stupid". This is the exact same patch as Rosie's one, with the removal of the license part. Hard to assume you never looked at her patch. Weird and unfair way to work around licensing issues.
(In reply to comment #7) > Well, the way of doing is rather "stupid". This is the exact same patch as > Rosie's one, with the removal of the license part. Hard to assume you never > looked at her patch. Weird and unfair way to work around licensing issues. I didn't even know the other bug or patch existed when I wrote the first version, and v2 was based on quick comments from IRC (from me asking about the other charts and mkanat mentioning that I should add it to boolean-charts.html.tmpl), not from anything in the other bug. So, therefore, it's original work and not based on anything derivative from the other bug.
The implementation is obvious and straightforward, it's totally unsurprising that two people would develop identical patches.
Keywords: relnote
Added to the release notes in bug 604256.
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: