Closed Bug 621491 Opened 15 years ago Closed 15 years ago

sort /all alphabetically and show 100 documents per page

Categories

(support.mozilla.org :: Knowledge Base Software, task, P3)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: atopal, Assigned: erik)

References

Details

Please sort the list of articles on /kb/all by alphabetically instead of the current unknown sorting, and please removing the paging. Contributors are looking through the page with Ctrl+f and that doesn't work well with 13 pages.
Not paginating is a performance regression, and means performance on that page will get worse over time. What use case does that solve that can't be solved with search?
Since we don't really link this from the UI like we did before (on the startpage even), I'm not too worried about performance. I also suggest search, but some contributors are used to and even faster with Ctrl+f on a single page. If we can support that without breaking stuff, that's great :) see https://support.mozilla.com/en-US/forums/contributors/704890
(In reply to comment #2) > Since we don't really link this from the UI like we did before (on the > startpage even), I'm not too worried about performance. We should never say we don't care about performance in page processing (i.e. not a celery task). What about a compromise of 50-100 articles per page? That should increase it's Ctrl-f-ability without leaving load times unbounded.
Target Milestone: 2.4.1 → 2.4.2
Okay, until we have word from contributors, could you please go ahead and page with 100 articles per page. And since we are getting the database interface for 2.4.2, could you please sort this by most viewed articles first? That should be the most useful compromise.
Summary: sort /all alphabetically and don't use paging → sort /all by most viewed and don't use paging
Summary: sort /all by most viewed and don't use paging → sort /all by most viewed and increase number of documents per page
Ok this is easy so I'll just do it.
Waiting on bug 624541 to avoid doing extra work. The query from there should be basically identical to the one needed here.
Assignee: nobody → paulc
Depends on: 624541
(In reply to comment #6) > The query from there should be > basically identical to the one needed here. Query? Please oh please use the ORM if possible.
Assignee: paulc → erik
Target Milestone: 2.4.2 → 2.4.3
Can't really use the ORM (without jumping through firey _private hoops) because of the left joins. You can't apply the category/tag/etc. filters to a RawQuerySet, and CachingRawQuerySet has no __len__ to make Paginator happy, so this is going to turn into a moderate to major thing.
(In reply to comment #8) > CachingRawQuerySet has no __len__ to make Paginator happy, The one from Cache Machine? That, fwiw, sounds like a bug we should fix.
Summary: sort /all by most viewed and increase number of documents per page → sort /all by most viewed and show 100 documents per page
Priority: -- → P3
Given that we have /en-US/contributors/most-visited now, which is already sorted by most-visited (and should be paginated, see bug 628339) why don't we sort alphabetically. Sorting by most-viewed but without listing the data we're sorting by is weird, and a most-viewed sort *with* that data exists, it seems like we should take the simple route here and just sort alphabetically.
Summary: sort /all by most viewed and show 100 documents per page → sort /all alphabetically and show 100 documents per page
That also makes this a heck of a lot simpler and more likely to land in 2.4.3.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified /kb/all is now sorted alphabetically
Status: RESOLVED → VERIFIED
Thanks guys, it makes much more sense this way indeed.
You need to log in before you can comment on or make changes to this bug.