I know this is not the time for feature requests but this is a very simple patch to fix a common annoyance of mine. By default, it sorts the referrers by date first instead of hits.

I find this view of the data far more useful to determine which new sites are linking to me and which recent material is of interest. How many hits another site generates is not as useful. That data is usually flat (spread out over many different sites) and it doesn't change much.

The patch will save me two page loads (to resort the the data the way I want) every time a visit the page.

Comments

killes@www.drop.org’s picture

Version: 4.7.0-rc2 » x.y.z
Status: Needs review » Active

no patch attached?

Steve Dondley’s picture

StatusFileSize
new689 bytes

big oops

Steve Dondley’s picture

Status: Active » Needs review
heine’s picture

Status: Needs review » Needs work

You'll have to change drupal_set_title(t('Top referrers in the past %interval' .. as well.

Steve Dondley’s picture

Status: Needs work » Needs review
StatusFileSize
new1.11 KB

Changed per comment above.

bdragon’s picture

Version: x.y.z » 6.x-dev

Amazingly, this applies to HEAD still. Bumping.

dmitrig01’s picture

Status: Needs review » Reviewed & tested by the community
dmitrig01’s picture

uhuh

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

Well, all pages in the stats module evolve around "Top something", and referrers are not different. This still applies because people don't touch the stats code. But even after applying this patch, the menu item and description would still say 'top referrers'.