Closed
Bug 490489
Opened 16 years ago
Closed 16 years ago
Add "Next" and "Previous" links to pagination
Categories
(support.mozilla.org :: General, defect)
support.mozilla.org
General
Tracking
(Not tracked)
VERIFIED
FIXED
1.1
People
(Reporter: krupa.mozbugs, Assigned: paulc)
References
()
Details
(Whiteboard: tiki_fixed)
Attachments
(1 file)
|
3.48 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
Currently pagination has "<<" and ">>" to navigate to the next and previous page.
It is more user-friendly to specify "<<-Previous" and "Next->>"
Current: <<1 2 3...n >>
Expected: Previous 1 2 3 ...n Next OR <<-Previous 1 2 3...n Next->>
Comment 1•16 years ago
|
||
I'd make that "<< Previous" and "Next >>" (replace the - with space)
| Assignee | ||
Comment 2•16 years ago
|
||
I'd like to make clear which places we'd like to see this happen. There are quite a few templates that use pagination.
Krupa, could you maybe walk through the site and point out where this pagination occurs?
E.g. the .php files or URLs
Assignee: nobody → paul.craciunoiu
| Reporter | ||
Comment 3•16 years ago
|
||
Search results dont have "<< Previous" and "Next >>" links.
For eg: https://support-stage.mozilla.org/tiki-newsearch.php?where=f&locale=en-US&q=browser&sa=
Forum topics and knowledge base article listings have these links.
| Assignee | ||
Comment 4•16 years ago
|
||
I see we use "<< Prev" for previous on
http://support.mozilla.com/tiki-view_forum.php?locale=en-US&forumId=1&comments_threshold=0&thread_sort_mode=lastPost_desc&comments_per_page=20&time_control=1209600&poster=&issue_solved=&reply_state=&comments_offset=20
Should we use the same on search?
| Assignee | ||
Comment 6•16 years ago
|
||
This patch does several things:
* change the hardcoded "10" from results per page in make_link_pages to $length (should have been used instead)
* adds "<< Previous" and "Next >>" links when there is a next/previous page
* updates CSS spacing, as with word-spacing: 10px the "<<" and "Previous" (and "Next" and ">>", respectively) are too far apart. Padding achieves the same result and makes more sense
* updates the make_links_pages function to output a <span> with class "current_page" for the current page, which is how we had it in our search results previously and gives better control over the current page element (previously was just plain text directly into the HTML)
I know this seems long but it should be easy to test :)
Attachment #376792 -
Flags: review?(laura)
| Assignee | ||
Comment 7•16 years ago
|
||
Comment on attachment 376792 [details] [diff] [review]
Patch: proposed fix, v1
Eric, by all means, if you have time...
Attachment #376792 -
Flags: review?(smirkingsisyphus)
Updated•16 years ago
|
Attachment #376792 -
Flags: review?(laura) → review+
| Assignee | ||
Comment 8•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
OS: Windows XP → All
Hardware: x86 → All
Resolution: --- → FIXED
| Reporter | ||
Comment 9•16 years ago
|
||
Paul,I dont see the Next and Prev links in search-
http://support-stage.mozilla.org/tiki-newsearch.php?locale=en&q=browser&where=all&l=en&filter_lang=0&author=&filter_author=0&en_too=&type=0&answered=0&lastmodif=0&offset=40
Am I missing something?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 10•16 years ago
|
||
I think stage and production have been rolled back to 1.0.2, were they rolled back after that? I don't they were. The links should definitely be there.
Laura?
Paul, please close this. Bug 493674 is now fixed; thanks!
| Assignee | ||
Comment 12•16 years ago
|
||
Roger that. Closed as per bug 493674.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
| Reporter | ||
Comment 13•16 years ago
|
||
Chevrons need some layout love.
screenshot: http://screencast.com/t/qFEj1gh2
URL: http://support-stage.mozilla.org/tiki-newsearch.php?locale=en&q=browser&where=all&l=en&filter_lang=1&author=&filter_author=0&en_too=1&type=0&answered=0&lastmodif=0&offset=60
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 14•16 years ago
|
||
To be clear I reopened the bug coz the chevron wraps to the next line.
| Assignee | ||
Comment 15•16 years ago
|
||
Cool. Thanks Krupa, will do some CSSing
| Assignee | ||
Comment 16•16 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 17•16 years ago
|
||
Filed a regression -Bug 494086
Marking this as verified.
Status: RESOLVED → VERIFIED
| Assignee | ||
Comment 18•16 years ago
|
||
Comment on attachment 376792 [details] [diff] [review]
Patch: proposed fix, v1
Just going through my r? list
Attachment #376792 -
Flags: review?(smirkingsisyphus)
Updated•15 years ago
|
Whiteboard: tiki_bug
Updated•15 years ago
|
Whiteboard: tiki_bug → tiki_fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•