[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination

From: Jeroen van Rijn
Subject: Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination
Date: Thu, 7 Jan 2010 18:32:42 +0100

Replying to my own idea, as an afterthought.

On the other hand, considering that with all possible starting letters
you'd have at most between 5 and 10 such 'groups', perhaps just do the

Split the navigation into a reasonable number of ranges that covers
all possible letters, and leave it at that for a while. On the off
chance that someone clicks A-C and there's not a single entry starting
with any of those letters, django could instead opt to redirect to
'all', or issue a 404.

Increment some counter for each of these groups for both hit (it had
entries) and miss (it didn't have entries), let it run for a month and
you'll see if these ranges ought to be adjusted.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]