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)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
2.4.3
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.
Comment 1•15 years ago
|
||
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?
| Reporter | ||
Comment 2•15 years ago
|
||
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
Comment 3•15 years ago
|
||
(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.
Updated•15 years ago
|
Target Milestone: 2.4.1 → 2.4.2
| Reporter | ||
Comment 4•15 years ago
|
||
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.
| Reporter | ||
Updated•15 years ago
|
Summary: sort /all alphabetically and don't use paging → sort /all by most viewed and don't use paging
Updated•15 years ago
|
Summary: sort /all by most viewed and don't use paging → sort /all by most viewed and increase number of documents per page
Comment 5•15 years ago
|
||
Ok this is easy so I'll just do it.
Comment 6•15 years ago
|
||
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
Comment 7•15 years ago
|
||
(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.
Updated•15 years ago
|
Assignee: paulc → erik
Target Milestone: 2.4.2 → 2.4.3
| Assignee | ||
Comment 8•15 years ago
|
||
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.
Comment 9•15 years ago
|
||
(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.
Updated•15 years ago
|
Summary: sort /all by most viewed and increase number of documents per page → sort /all by most viewed and show 100 documents per page
| Assignee | ||
Updated•15 years ago
|
Priority: -- → P3
Comment 10•15 years ago
|
||
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
| Assignee | ||
Comment 11•15 years ago
|
||
That also makes this a heck of a lot simpler and more likely to land in 2.4.3.
| Assignee | ||
Comment 12•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 14•15 years ago
|
||
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.
Description
•