Closed Bug 678712 Opened 13 years ago Closed 11 years ago

visit count incorrectly determined for redirectsMode=2 queries

Categories

(Toolkit :: Places, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: al_9x, Unassigned)

Details

https://groups.google.com/group/mozilla.dev.apps.firefox/browse_thread/thread/69c139ecfcaf4370

In Fx6, in a scenario where page A usually but not always redirects to page B, A's redirected visits still count towards A for sorting.  Which means that if A redirects to B a 1000 times, it will not even be a candidate for "most visited," which is expected, but as soon as it fails to redirect just once, it will suddenly appear and be ahead of B.  For a page to magically become first,  out of nowhere, is confusing and counter-intuitive.

redirectsMode=2 means the "redirected-from pages" should be excluded, but since the notion of redirection applies to visits not pages, what it really means is redirected-from visits should be excluded.

In the above scenario A's visit count for sorting purposes should be 1 not 1001.
I suppose doing it correctly would be an high perf hog, btw confirming since it may make sense
Status: UNCONFIRMED → NEW
Ever confirmed: true
redirectsMode has gone
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.